|
ModelConstructorTModel Delegate
|
Note: This API is now obsolete.
Model construction (fitting) delegate.
Namespace:
Accord.MachineLearning.Boosting
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use the .Learner property instead.")]
public delegate TModel ModelConstructor<TModel>(
double[] weights
)
<ObsoleteAttribute("Please use the .Learner property instead.")>
Public Delegate Function ModelConstructor(Of TModel) (
weights As Double()
) As TModel
Parameters
- weights
- Type: SystemDouble
The current weights for the input samples.
Type Parameters
- TModel
- The type of the model to be created.
Return Value
Type:
TModelA model trained over the weighted samples.
See Also