Skip to content

Commit

Permalink
making methods private
Browse files Browse the repository at this point in the history
  • Loading branch information
manishamde committed Mar 23, 2014
1 parent c487e6a commit f963ef5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ object DecisionTree extends Serializable with Logging {
* @param bins possible bins for all features
* @return array of splits with best splits for all nodes at a given level.
*/
def findBestSplits(
private def findBestSplits(
input: RDD[LabeledPoint],
parentImpurities: Array[Double],
strategy: Strategy,
Expand Down Expand Up @@ -885,7 +885,7 @@ object DecisionTree extends Serializable with Logging {
* .model.Split] of size (numFeatures, numSplits-1) and bins is an Array of [org.apache
* .spark.mllib.tree.model.Bin] of size (numFeatures, numSplits1)
*/
def findSplitsBins(
private def findSplitsBins(
input: RDD[LabeledPoint],
strategy: Strategy): (Array[Array[Split]], Array[Array[Bin]]) = {
val count = input.count()
Expand Down

0 comments on commit f963ef5

Please sign in to comment.