|
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
Public Shared Function Create(Of TModel As Class) (
model As TModel,
trainingValue As Double,
trainingVariance As Double,
validationValue As Double,
validationVariance As Double
) As CrossValidationValues(Of TModel)
Request Example
View SourceParameters
- 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:
CrossValidationValuesTModelSee Also