Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for `OneVsRest` classification model #57

Open
xixici opened this issue Mar 5, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@xixici
Copy link

commented Mar 5, 2019

When I try to convert one onevsrest model to pmml , there occurs wrong like this:

java.lang.illegalargumentexception: Transformer class org.spache.spark.ml.classification.OneVsRestModel is not supported.

OneVsRest is an example of a machine learning reduction for performing multiclass classification given a base classifier that can perform binary classification efficiently. It is also known as “One-vs-All.”

OneVsRest is implemented as an Estimator. For the base classifier, it takes instances of Classifier and creates a binary classification problem for each of the k classes. The classifier for class i is trained to predict whether the label is i or not, distinguishing class i from all other classes.

Is there a plan to fix it ?

@vruusmann vruusmann changed the title Add suport for `OneVsRest` classification model Add support for `OneVsRest` classification model Mar 5, 2019

@vruusmann

This comment has been minimized.

Copy link
Member

commented Mar 5, 2019

Is there a plan to fix it ?

Sure, one day, when there's time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.