You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2014/12/17 23:22:14 UTC
[jira] [Closed] (SPARK-4875) Separate Transformer, Estimator params
[ https://issues.apache.org/jira/browse/SPARK-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph K. Bradley closed SPARK-4875.
------------------------------------
Resolution: Duplicate
> Separate Transformer, Estimator params
> --------------------------------------
>
> Key: SPARK-4875
> URL: https://issues.apache.org/jira/browse/SPARK-4875
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 1.2.0
> Reporter: Joseph K. Bradley
> Priority: Minor
>
> Currently, in spark.ml, an Estimator and its Model (Transformer) both use the same set of parameters. (E.g., LogisticRegression) The problem is that some Estimator parameters are not relevant for Transformers, so it is non-sensical to include them in the Transformers.
> Proposal: When a parameter is only relevant to the Estimator, only include it in the Estimator. In these cases, if there is a separate parameter trait (e.g., LogisticRegressionParams), that trait should be separated into a model params trait and an estimator params trait which inherits from the model params:
> {code}
> trait LogisticRegressionModelParams
> trait LogisticRegressionParams extends LogisticRegressionModelParams
> {code}
> In cases where the 2 classes use the same set of parameters, then they may share the same params trait.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org