Skip to content
  • Sean Owen's avatar
    e07baf14
    [SPARK-17001][ML] Enable standardScaler to standardize sparse vectors when withMean=True · e07baf14
    Sean Owen authored
    ## What changes were proposed in this pull request?
    
    Allow centering / mean scaling of sparse vectors in StandardScaler, if requested. This is for compatibility with `VectorAssembler` in common usages.
    
    ## How was this patch tested?
    
    Jenkins tests, including new caes to reflect the new behavior.
    
    Author: Sean Owen <sowen@cloudera.com>
    
    Closes #14663 from srowen/SPARK-17001.
    e07baf14
    [SPARK-17001][ML] Enable standardScaler to standardize sparse vectors when withMean=True
    Sean Owen authored
    ## What changes were proposed in this pull request?
    
    Allow centering / mean scaling of sparse vectors in StandardScaler, if requested. This is for compatibility with `VectorAssembler` in common usages.
    
    ## How was this patch tested?
    
    Jenkins tests, including new caes to reflect the new behavior.
    
    Author: Sean Owen <sowen@cloudera.com>
    
    Closes #14663 from srowen/SPARK-17001.
Loading