|
GridSearchTModelCompute Method (GridSearchParameterCollection, Double)
|
Searches for the best combination of parameters that results in the most accurate model.
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public TModel Compute(
out GridSearchParameterCollection bestParameters,
out double error
)
Public Function Compute (
<OutAttribute> ByRef bestParameters As GridSearchParameterCollection,
<OutAttribute> ByRef error As Double
) As TModel
Request Example
View SourceParameters
- bestParameters
- Type: Accord.MachineLearningGridSearchParameterCollection
The best combination of parameters found by the grid search. - error
- Type: SystemDouble
The minimum error of the best model found by the grid search.
Return Value
Type:
TModelThe best model found during the grid search.
See Also