[ 
https://issues.apache.org/jira/browse/SPARK-18481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph K. Bradley updated SPARK-18481:
--------------------------------------
    Description: 
Remove deprecated methods for ML.

This task removed the following (deprecated) public APIs in org.apache.spark.ml:
* classification.RandomForestClassificationModel.numTrees  (This now refers to 
the Param called "numTrees")
* feature.ChiSqSelectorModel.setLabelCol
* regression.LinearRegressionSummary.model
* regression.RandomForestRegressionModel.numTrees  (This now refers to the 
Param called "numTrees")
* PipelineStage.validateParams

This task made the following changes to match existing patterns for Params:
* These methods were made final:
** classification.RandomForestClassificationModel.getNumTrees
** regression.RandomForestRegressionModel.getNumTrees
* These methods return the concrete class type, rather than an arbitrary trait. 
 This only affected Java compatibility, not Scala.
** classification.RandomForestClassificationModel.setFeatureSubsetStrategy
** regression.RandomForestRegressionModel.setFeatureSubsetStrategy


  was:
Remove deprecated methods for ML.

We removed the following public APIs in this JIRA:
org.apache.spark.ml.classification.RandomForestClassificationModel.numTrees
org.apache.spark.ml.feature.ChiSqSelectorModel.setLabelCol
org.apache.spark.ml.regression.LinearRegressionSummary.model
org.apache.spark.ml.regression.RandomForestRegressionModel.numTrees



> ML 2.1 QA: Remove deprecated methods for ML 
> --------------------------------------------
>
>                 Key: SPARK-18481
>                 URL: https://issues.apache.org/jira/browse/SPARK-18481
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, PySpark
>            Reporter: Yanbo Liang
>            Assignee: Yanbo Liang
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Remove deprecated methods for ML.
> This task removed the following (deprecated) public APIs in 
> org.apache.spark.ml:
> * classification.RandomForestClassificationModel.numTrees  (This now refers 
> to the Param called "numTrees")
> * feature.ChiSqSelectorModel.setLabelCol
> * regression.LinearRegressionSummary.model
> * regression.RandomForestRegressionModel.numTrees  (This now refers to the 
> Param called "numTrees")
> * PipelineStage.validateParams
> This task made the following changes to match existing patterns for Params:
> * These methods were made final:
> ** classification.RandomForestClassificationModel.getNumTrees
> ** regression.RandomForestRegressionModel.getNumTrees
> * These methods return the concrete class type, rather than an arbitrary 
> trait.  This only affected Java compatibility, not Scala.
> ** classification.RandomForestClassificationModel.setFeatureSubsetStrategy
> ** regression.RandomForestRegressionModel.setFeatureSubsetStrategy



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to