Skip to content

Commit

Permalink
SPARK-8484 Resolved feedback to #7337
Browse files Browse the repository at this point in the history
  • Loading branch information
zapletal-martin committed Jul 10, 2015
1 parent 00c4f5a commit f4fc9c4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ private[ml] trait TrainValidatorSplitParams extends ValidatorParams {
/**
* :: Experimental ::
* Validation for hyper-parameter tuning.
* Randomly splits the input dataset into train and validation sets.
* And uses evaluation metric on the validation set to select the best model.
* Similar to CrossValidator, but only splits the set once.
* Randomly splits the input dataset into train and validation sets,
* and uses evaluation metric on the validation set to select the best model.
* Similar to [[CrossValidator]], but only splits the set once.
*/
@Experimental
class TrainValidatorSplit(override val uid: String) extends Estimator[TrainValidatorSplitModel]
with TrainValidatorSplitParams with Logging {

def this() = this(Identifiable.randomUID("cv"))
def this() = this(Identifiable.randomUID("tvs"))

/** @group setParam */
def setEstimator(value: Estimator[_]): this.type = set(estimator, value)
Expand Down

0 comments on commit f4fc9c4

Please sign in to comment.