|
LearnNewModelTLearner, TInput, TOutput, TModel Delegate
|
Function signature for a function that specifies how a teacher
should be used to create a new TModel.
Namespace:
Accord.MachineLearning.Performance
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public delegate TModel LearnNewModel<TLearner, TInput, TOutput, TModel>(
TLearner teacher,
TInput[] inputs,
TOutput[] outputs,
double[] weights = null
)
Public Delegate Function LearnNewModel(Of TLearner, TInput, TOutput, TModel) (
teacher As TLearner,
inputs As TInput(),
outputs As TOutput(),
Optional weights As Double() = Nothing
) As TModel
Parameters
- teacher
- Type: TLearner
The teacher learning algorithm. - inputs
- Type: TInput
The input data in the dataset. - outputs
- Type: TOutput
The output data in the dataset. - weights (Optional)
- Type: SystemDouble
The weights for each instance in the dataset.
Type Parameters
- TLearner
- The type of the learning algorithm used to learn TModel.
- TInput
- The type of the input data.
- TOutput
- The type of the output data or labels.
- TModel
- The type of the machine learning model.
Return Value
Type:
TModel
A
TModel model that has been learnt from the
inputs and
outputs data using
the given
teacher.
See Also