Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

avoid .ml.vector => .breeze.vector conversion in MaxAbsScaler,
and reuse the transformation method in StandardScalerModel, which can deal with dense & sparse vector separately.

How was this patch tested?

existing suites

@SparkQA
Copy link

SparkQA commented Jul 31, 2019

Test build #108455 has finished for PR 25311 at commit 8b923f9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking OK. Are there more transformers that can benefit from this type of change?

@zhengruifeng
Copy link
Contributor Author

@srowen I had scan other feature algs, and can not to find any similar place.

@srowen
Copy link
Member

srowen commented Aug 2, 2019

Merged to master

@srowen srowen closed this in 37243e1 Aug 2, 2019
@zhengruifeng zhengruifeng deleted the maxabs_opt branch August 4, 2019 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants