You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2019/10/08 05:43:18 UTC
[jira] [Resolved] (SPARK-8799) OneVsRestModel should extend
ClassificationModel
[ https://issues.apache.org/jira/browse/SPARK-8799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-8799.
---------------------------------
Resolution: Incomplete
> OneVsRestModel should extend ClassificationModel
> ------------------------------------------------
>
> Key: SPARK-8799
> URL: https://issues.apache.org/jira/browse/SPARK-8799
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Reporter: Feynman Liang
> Priority: Minor
> Labels: bulk-closed
>
> Many parts of `OneVsRestModel` can be generalized to `ClassificationModel`. For example:
> * `accColName` can be used to populate `ClassificationModel#predictRaw` and share implementations of `transform`
> * SPARK-8092 adds `setFeaturesCol` and `setPredictionCol` which could be gotten for free through subclassing
> `ClassificationModel` is the correct supertype (e.g. not `PredictionModel`) because the labels for a `OneVsRest` will always be discrete and finite.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org