Click or drag to resize
Accord.NET (logo)

CrossValidationValuesCreateTModel Method (TModel, Double, Double, Double, Double)

Creates a new Cross-Validation Values class.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public static CrossValidationValues<TModel> Create<TModel>(
	TModel model,
	double trainingValue,
	double trainingVariance,
	double validationValue,
	double validationVariance
)
where TModel : class
Request Example View Source

Parameters

model
Type: TModel
The fitted model.
trainingValue
Type: SystemDouble
The training value for the model.
trainingVariance
Type: SystemDouble
The variance of the training values.
validationValue
Type: SystemDouble
The validation value for the model.
validationVariance
Type: SystemDouble
The variance of the validation values.

Type Parameters

TModel

Return Value

Type: CrossValidationValuesTModel
See Also