Skip to content

Commit

Permalink
a few doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbradley committed Aug 5, 2014
1 parent eaf84c0 commit c699850
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ object DecisionTree extends Serializable with Logging {
new DecisionTree(strategy).train(input)
}

// Optional arguments in Python: maxBins
def train(
input: RDD[LabeledPoint],
algo: Algo,
Expand All @@ -309,6 +310,7 @@ object DecisionTree extends Serializable with Logging {
maxDepth: Int,
maxBins: Int): DecisionTreeModel = ???

// Optional arguments in Python: all but input, numClassesForClassification
def trainClassifier(
input: RDD[LabeledPoint],
numClassesForClassification: Int,
Expand All @@ -317,6 +319,7 @@ object DecisionTree extends Serializable with Logging {
maxDepth: Int,
maxBins: Int): DecisionTreeModel = ???

// Optional arguments in Python: all but input
def trainRegressor(
input: RDD[LabeledPoint],
categoricalFeaturesInfo: Map[Int,Int],
Expand Down

0 comments on commit c699850

Please sign in to comment.