92dd7c9d2a
### 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? No ### How was this patch tested? Existing test Closes #27204 from huaxingao/spark-ovr-minor. Authored-by: Huaxin Gao <huaxing@us.ibm.com> Signed-off-by: zhengruifeng <ruifengz@foxmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_algorithms.py | ||
test_base.py | ||
test_evaluation.py | ||
test_feature.py | ||
test_image.py | ||
test_linalg.py | ||
test_param.py | ||
test_persistence.py | ||
test_pipeline.py | ||
test_stat.py | ||
test_training_summary.py | ||
test_tuning.py | ||
test_wrapper.py |