home.social

#datadev — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #datadev, aggregated by home.social.

fetched live
  1. About metrics for measuring agreement on regression on continuous datasets:
    Reasons to avoid R² and use RMSE instead: feat.engineering/03-Review_of_

    From Max Kuhn @topepo, Kjell Johnson (2026), "Feature Engineering and Selection: A Practical Approach for Predictive Models"

    #prediction #dataDev #modelEvaluation #regression #modelling #linearRegression #modeling #probability #probabilities #statistics #stats #gotcha

  2. About metrics for measuring agreement on regression on continuous datasets:
    Reasons to avoid R² and use RMSE instead: feat.engineering/03-Review_of_

    From Max Kuhn @topepo, Kjell Johnson (2026), "Feature Engineering and Selection: A Practical Approach for Predictive Models"

    #prediction #dataDev #modelEvaluation #regression #modelling #linearRegression #modeling #probability #probabilities #statistics #stats #gotcha

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

    sagepub.com/sites/default/file

    #models #dataDev #logNormal #regression #normality #normalDistribution #gamma #Γ #modelling #modeling #AIDev #ML #evaluation

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

    sagepub.com/sites/default/file

    #models #dataDev #logNormal #regression #normality #normalDistribution #gamma #Γ #modelling #modeling #AIDev #ML #evaluation

  5. Logistic regression may be used for classification.

    In order to preserve the convex nature for the loss function, a log-loss cost function has been designed for logistic regression. This cost function extremes at labels True and False.

    The gradient for the loss function of logistic regression comes out to have the same form of terms as the gradient for the Least Squared Error.

    More: baeldung.com/cs/gradient-desce

    #optimization #algebra #linearAlgebra #math #maths #mathematics #mathStodon #ML #dataScience #machineLearning #DeepLearning #neuralNetworks #NLP #modeling #modelling #models #dataDev #AIDev #regression #modelling #dataLearning #probabilities #logisticRegression #logLoss #sigmoid #classification #differentialCalculus #loss

  6. Logistic regression may be used for classification.

    In order to preserve the convex nature for the loss function, a log-loss cost function has been designed for logistic regression. This cost function extremes at labels True and False.

    The gradient for the loss function of logistic regression comes out to have the same form of terms as the gradient for the Least Squared Error.

    More: baeldung.com/cs/gradient-desce

    #optimization #algebra #linearAlgebra #math #maths #mathematics #mathStodon #ML #dataScience #machineLearning #DeepLearning #neuralNetworks #NLP #modeling #modelling #models #dataDev #AIDev #regression #modelling #dataLearning #probabilities #logisticRegression #logLoss #sigmoid #classification #differentialCalculus #loss

  7. @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

  8. @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

  9. #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

  10. #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

  11. ´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

  12. ´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

  13. "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

  14. "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

  15. @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

  16. @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

  17. @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

  18. @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

  19. 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

  20. 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

  21. #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

  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