File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mllib/src/main/scala/org/apache/spark/mllib/tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ object DecisionTree extends Serializable with Logging {
247247 * @param bins possible bins for all features
248248 * @return array of splits with best splits for all nodes at a given level.
249249 */
250- def findBestSplits (
250+ private def findBestSplits (
251251 input : RDD [LabeledPoint ],
252252 parentImpurities : Array [Double ],
253253 strategy : Strategy ,
@@ -885,7 +885,7 @@ object DecisionTree extends Serializable with Logging {
885885 * .model.Split] of size (numFeatures, numSplits-1) and bins is an Array of [org.apache
886886 * .spark.mllib.tree.model.Bin] of size (numFeatures, numSplits1)
887887 */
888- def findSplitsBins (
888+ private def findSplitsBins (
889889 input : RDD [LabeledPoint ],
890890 strategy : Strategy ): (Array [Array [Split ]], Array [Array [Bin ]]) = {
891891 val count = input.count()
You can’t perform that action at this time.
0 commit comments