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/05 20:31:12 UTC
[jira] [Created] (SPARK-4766) ML Estimator Params should subclass
Transformer Params
Joseph K. Bradley created SPARK-4766:
----------------------------------------
Summary: ML Estimator Params should subclass Transformer Params
Key: SPARK-4766
URL: https://issues.apache.org/jira/browse/SPARK-4766
Project: Spark
Issue Type: Improvement
Components: ML
Affects Versions: 1.2.0
Reporter: Joseph K. Bradley
Currently, in spark.ml, both Transformers and Estimators extend the same Params classes. There should be one Params class for the Transformer and one for the Estimator, where the Estimator params class extends the Transformer one.
E.g., it is weird to be able to do:
{code}
val model: LogisticRegressionModel = ...
model.setMaxIter(10)
{code}
--
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