zhipeng93 opened a new pull request, #139:
URL: https://github.com/apache/flink-ml/pull/139

   ## What is the purpose of the change
   - Add Transformer and Estimator for KBinsDiscretizer[1] in Flink ML. 
   
   ## Brief change log
   - Added Transformer and Estimator for LinearSVC.
   - Added java test/example  for Transformer and Estimator for 
KBinsDiscretizer.
   - Added python source/test/example for KBinsDiscretizer.
   - Comparing with Sklearn [1], we made the following changes:
        - We removed `encode` parameter since we can achieve the same goal with 
a onehot-encoder following KBinsDiscretizer.
        - We removed `randomState` since it is non-trivial to support 
reproduciable sampling in a distributed setting, while in sklearn (single-node) 
setting, it is much easier. If the users would like this feature, we can add it 
later.
   
   ## Does this pull request potentially affect one of the following parts:
   - Dependencies (does it add or upgrade a dependency): (no)
   - The public API, i.e., is any changed class annotated with 
@Public(Evolving): (no)
   - Does this pull request introduce a new feature? (yes)
   - If yes, how is the feature documented? (Java doc)
   
   [1] 
https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.KBinsDiscretizer.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to