Skip to content

Commit

Permalink
[jvm-packages] removed old group_data from spark api (dmlc#3451)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoyal2707 authored and CodingCat committed Jul 8, 2018
1 parent aa90e5c commit cb017d0
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ private[spark] trait LearningTaskParams extends Params {

final def getEvalMetric: String = $(evalMetric)

/**
* group data specify each group sizes for ranking task. To correspond to partition of
* training data, it is nested.
*/
final val groupData = new GroupDataParam(this, "groupData", "group data specify each group " +
"size for ranking task. To correspond to partition of training data, it is nested.")

/**
* Fraction of training points to use for testing.
*/
Expand All @@ -82,7 +75,7 @@ private[spark] trait LearningTaskParams extends Params {

final def getNumEarlyStoppingRounds: Int = $(numEarlyStoppingRounds)

setDefault(objective -> "reg:linear", baseScore -> 0.5, groupData -> null,
setDefault(objective -> "reg:linear", baseScore -> 0.5,
trainTestRatio -> 1.0, numEarlyStoppingRounds -> 0)
}

Expand Down

0 comments on commit cb017d0

Please sign in to comment.