#dataDev

2025-02-02

@data @datadon đź§µ

Accuracy! To counter regression dilution, a method is to add a constraint on the statistical modeling.
Regression Redress restrains bias by segregating the residual values.
My article: data.yt/kit/regression-redress

#bias #modeling #dataDev #AIDev #modelEvaluation #regression #modelling #dataLearning #linearRegression #probability #probabilities #statistics #stats #correctionRatio #ML #distributions #accuracy #RegressionRedress #Python #RStats

2025-01-30

@data @datadon đź§µ

How to assess a statistical model?
How to choose between variables?

Pearson's #correlation is irrelevant if you suspect that the relationship is not a straight line.

If monotonic relationship:
"#Spearman’s rho is particularly useful for small samples where weak correlations are expected, as it can detect subtle monotonic trends." It is "widespread across disciplines where the measurement precision is not guaranteed".
"#Kendall’s Tau-b is less affected [than Spearman’s rho] by outliers in the data, making it a robust option for datasets with extreme values."
Ref: statisticseasily.com/kendall-t

#normality #normalDistribution #modeling #dataDev #AIDev #ML #modelEvaluation #regression #modelling #dataLearning #featureEngineering #linearRegression #modeling #probability #probabilities #statistics #stats #correctionRatio #ML #Pearson #bias #regressionRedress #distributions

2024-12-19

"A generalized linear model or #GLM consists of three components:
1. A random component, specifying the conditional distribution of the response variable, Yi (for the ith of n independently sampled observations). […]
2. A linear predictor—that is a linear function of regressors,
ηi = α + Σj Xij*βj
3. A smooth and invertible link function g(·), which transforms the expectation of the response variable, μi ≡ E(Yi), to the linear predictor:
g(μi) = ηi"

sagepub.com/sites/default/file

#dataDev #regression

2024-12-17

@data @datadon

#DataViz on two requirements:
* zooming, panning and rescaling
* shareable dashboards

"Plotly vs. Bokeh: Interactive Python Visualisation Pros and Cons", by Dr Paul Iacomi: pauliacomi.com/2020/06/07/plot

#dataDev #retrieval #dataMining #plotly #Dash #Bokeh #python #dataInteraction #data #dataDon #widgets #ipython #jupyter #dashboards #businessIntelligence

2024-12-16

#DataViz Decision-Making Guide

"How do you decide between #Plotly and #Seaborn?
* If you need interactive and dynamic visualizations, especially for dashboards or 3D data, Plotly is the way to go.
* If you’re focused on statistical analysis, creating publication-ready visuals, or conducting exploratory data analysis, Seaborn is likely your best choice."
by Amit Yadav: medium.com/@amit25173/plotly-v

#dataDev #retrieval #dataMining

2024-10-29

´Technical people are blind to the fact they automatically solve dozens of problems every day in their regular workflow, any single one big enough to block another user for a few hours. Without even thinking about it.´

´There are usually two kinds of coders giving advises. A fresh one that has no idea how complex things really are, yet. Or an experienced one, that forgot it.´

@bitecode bitecode.dev/p/why-not-tell-pe đź§µ

#dev #dataDev #install #anaconda #packages #Python #tech #packaging #complexity

2024-10-25

"The #gamma GLM is a relatively assumption-light means of #modeling non-negative data, given gamma's flexibility.
[…]
"Explaining what is used and what is not used, despite merits and demerits […]: Loosely, the larger the internal literature in any field on modelling techniques, the less inclined people in that field seem to be to try something different."

Nick Cox, 2013: stats.stackexchange.com/questi

#normality #normalDistribution #Γ #modelling #dataDev #AIDev #ML #AIEvaluation #logNormal

2024-10-24

@datadon

#Lasso #LinearRegression "is useful in some contexts due to its tendency to prefer solutions with fewer non-zero coefficients, effectively reducing the number of features upon which the given solution is dependent"

scikit-learn.org/stable/module đź§µ

#dataDev #AIDev #ML #sklearn #python #interpretability

2024-10-23

@data "practitioners can leverage #LASSO regression to construct more interpretable and predictive models that excel in scenarios involving high-dimensional data and intricate feature relationships."

datasciencedecoded.com/posts/1

#dataDev #interpretability #AIDev

2024-10-01

@datadon

Unfilled cells influence models.
"Handling Missing Data in Machine Learning": ml-nn.eu/a1/51.html by Calin Sandu @mlnn

#missingData #bias #wealth #dataQuality #complexity #dataDev #machineLearning #dataPrep #EDA #dataWrangling

2024-09-28

A categorical variable takes on a limited number of values.
The categorical #dataType is useful in the following cases:
- A string variable consisting of only some values. df[["label"]].astype("category") saves memory.
- The lexical order is not the same as the logical order (“one”, “two”, “three”). Sorting and min/max will use the logical order.
- As a signal to other libraries to treat as a category.

More: pandas.pydata.org/pandas-docs/

#dataDev #Python #Pandas #dataAnalysis #statistics #stats

2024-08-22

#PythonGotcha đź§µ

It is often useful to make a #copy of a given list before performing operations that would mutate the elements.

When you make a shallow copy of an existing list, you create a new pointer to a new list object that points to the same old elements. (It saves memory.)

On the other hand, if you make a deep copy, then you create a completely new copy of the original list.

In other words: realpython.com/python-mutable-

#learning #objects #python #dev #CS #DataScience #memory #dataDev

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst