zhengruifeng created SPARK-22309:
------------------------------------

             Summary: Remove unused param in 
`LDAModel.getTopicDistributionMethod` & destory `nodeToFeaturesBc` in 
RandomForest
                 Key: SPARK-22309
                 URL: https://issues.apache.org/jira/browse/SPARK-22309
             Project: Spark
          Issue Type: Improvement
          Components: ML
    Affects Versions: 2.3.0
            Reporter: zhengruifeng
            Priority: Minor


1, Param {{sc: SparkContext}} in {{LocalLDAModel.getTopicDistributionMethod}} 
is redundant.
2, forgot to destory broadcasted object {{nodeToFeaturesBc}} in {{RandomForest}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to