|
CrossValidationValuesCreateTModel Method (TModel, 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
)
where TModel : class
Public Shared Function Create(Of TModel As Class) (
model As TModel,
trainingValue As Double,
trainingVariance 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.
Type Parameters
- TModel
Return Value
Type:
CrossValidationValuesTModelSee Also