srowen commented on a change in pull request #24953:
[SPARK-28140][MLLIB][PYTHON] Accept DataFrames in RowMatrix and
IndexedRowMatrix constructors
URL: https://github.com/apache/spark/pull/24953#discussion_r296870835
##########
File path:
mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala
##########
@@ -48,10 +47,10 @@ import org.apache.spark.mllib.tree.{DecisionTree,
GradientBoostedTrees, RandomFo
import org.apache.spark.mllib.tree.configuration.{Algo, BoostingStrategy,
Strategy}
import org.apache.spark.mllib.tree.impurity._
import org.apache.spark.mllib.tree.loss.Losses
-import org.apache.spark.mllib.tree.model.{DecisionTreeModel,
GradientBoostedTreesModel,
- RandomForestModel}
+import org.apache.spark.mllib.tree.model.{DecisionTreeModel,
GradientBoostedTreesModel, RandomForestModel}
Review comment:
Nit: you need to revert the import changes here and above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]