public static class KFoldCrossValidation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KFoldCrossValidation |
build() |
KFoldCrossValidation.Builder |
evaluator(javax.visrec.ml.eval.Evaluator<NeuralNetwork,javax.visrec.ml.data.DataSet<? extends MLDataItem>> evaluator) |
KFoldCrossValidation.Builder |
model(NeuralNetwork neuralNet) |
KFoldCrossValidation.Builder |
numSplits(int numSplits) |
KFoldCrossValidation.Builder |
trainingListener(TrainingListener trainingListener) |
KFoldCrossValidation.Builder |
trainingSet(javax.visrec.ml.data.DataSet dataSet) |
public KFoldCrossValidation.Builder numSplits(int numSplits)
public KFoldCrossValidation.Builder model(NeuralNetwork neuralNet)
public KFoldCrossValidation.Builder trainingSet(javax.visrec.ml.data.DataSet dataSet)
public KFoldCrossValidation.Builder evaluator(javax.visrec.ml.eval.Evaluator<NeuralNetwork,javax.visrec.ml.data.DataSet<? extends MLDataItem>> evaluator)
public KFoldCrossValidation.Builder trainingListener(TrainingListener trainingListener)
public KFoldCrossValidation build()
Copyright © 2022. All rights reserved.