machine learning - spark - ml.classification.DecisionTreeClassifier vs pyspark.mllib.tree.DecisionTree -


what's difference between ml.classification.decisiontreeclassifier in ml , mllib.tree.decisiontree trainclassifier in mllib?

the spark.mllib decisiontree classifier built on top of rdds while spark.ml provides further api built on top of dataframes constructing ml pipelines. it's recommended use spark.ml due advantages of dataframes optmizations.

here's post found after searching more of forums: difference between org.apache.spark.ml.classification , org.apache.spark.mllib.classification


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -