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

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -