org.encog.ml.data.cross
Class DataFold
- java.lang.Object
-
- org.encog.ml.data.cross.DataFold
-
public class DataFold extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description DataFold(MatrixMLDataSet theTraining, MatrixMLDataSet theValidation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description MLMethodgetMethod()doublegetScore()MatrixMLDataSetgetTraining()MatrixMLDataSetgetValidation()voidsetMethod(MLMethod method)voidsetScore(double score)
-
-
-
Constructor Detail
-
DataFold
public DataFold(MatrixMLDataSet theTraining, MatrixMLDataSet theValidation)
-
-
Method Detail
-
getScore
public double getScore()
- Returns:
- the score
-
setScore
public void setScore(double score)
- Parameters:
score- the score to set
-
getTraining
public MatrixMLDataSet getTraining()
- Returns:
- the training
-
getValidation
public MatrixMLDataSet getValidation()
- Returns:
- the validation
-
getMethod
public MLMethod getMethod()
- Returns:
- the method
-
setMethod
public void setMethod(MLMethod method)
- Parameters:
method- the method to set
-
-
DMelt 3.0 © DataMelt by jWork.ORG