Click or drag to resize
Accord.NET (logo)

LeastSquaresLearningCreate Method

Creates an instance of the model to be learned. Inheritors of this abstract class must define this method so new models can be created from the training data.

Namespace:  Accord.MachineLearning.VectorMachines.Learning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
protected override SupportVectorMachine<IKernel<double[]>, double[]> Create(
	int inputs,
	IKernel<double[]> kernel
)
Request Example View Source

Parameters

inputs
Type: SystemInt32
kernel
Type: Accord.Statistics.KernelsIKernelDouble

Return Value

Type: SupportVectorMachineIKernelDouble, Double
See Also