huaxingao opened a new pull request #27204: [MINOR][ML] Change 
DecisionTreeClassifier to FMClassifier in OneVsRest setWeightCol test
   ### What changes were proposed in this pull request?
   Change ```DecisionTreeClassifier``` to ```FMClassifier``` in ```OneVsRest``` 
setWeightCol test 
   ### Why are the changes needed?
   In ```OneVsRest```, if the classifier doesn't support instance weight, 
```OneVsRest``` weightCol will be ignored, so unit test has tested one 
classifier(```LogisticRegression```) that support instance weight, and one 
classifier (```DecisionTreeClassifier```) that doesn't support instance weight. 
Since ```DecisionTreeClassifier``` now supports instance weight, we need to 
change it to the classifier that doesn't have weight support. 
   ### Does this PR introduce any user-facing change?
   ### How was this patch tested?
   Existing test

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.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to