Skip to content

Commit f963ef5

Browse files
committed
making methods private
1 parent c487e6a commit f963ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mllib/src/main/scala/org/apache/spark/mllib/tree/DecisionTree.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)