Github user hhbyyh commented on the pull request:

    https://github.com/apache/spark/pull/6039#issuecomment-113436948
  
    @jkbradley Thanks for helping review.
    
    I found an issue. For SparseVector, MinMaxScaler probably will change many 
zeros to non-zeros, resulting into a dense vector. And since columns have 
difference original range, I found it inevitable to iterate through the full 
index.
    
    I sent an update with the style change and removed the wrong sparse vector 
part from transform.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to