spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <>
Subject [jira] [Assigned] (SPARK-14478) Should StandardScaler use biased variance to scale?
Date Wed, 20 Apr 2016 06:03:25 GMT


Apache Spark reassigned SPARK-14478:

    Assignee: Joseph K. Bradley  (was: Apache Spark)

> Should StandardScaler use biased variance to scale?
> ---------------------------------------------------
>                 Key: SPARK-14478
>                 URL:
>             Project: Spark
>          Issue Type: Question
>          Components: ML, MLlib
>            Reporter: Joseph K. Bradley
>            Assignee: Joseph K. Bradley
> Currently, MLlib's StandardScaler scales columns using the corrected standard deviation
(sqrt of unbiased variance).  This matches what R's scale package does.
> However, it is a bit odd for 2 reasons:
> * Optimization/ML algorithms which require scaled columns generally assume unit variance
(for mathematical convenience).  That requires using biased variance.
> * scikit-learn, MLlib's GLMs, and R's glmnet package all use biased variance.
> *Question*: Should we switch to unbiased?
> *Decision*: No.  Document what we do, and possibly add support for unbiased later on.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message