Click or drag to resize
Accord.NET (logo)

IRegressionTInput, TOutput Interface

Common interface for regression models. Regression models learn how to produce a real value (or a set of real values) y from an input vector x.

Namespace:  Accord.MachineLearning
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public interface IRegression<TInput, TOutput> : ITransform<TInput, TOutput>, 
	ICovariantTransform<TInput, TOutput>, ITransform
Request Example View Source

Type Parameters

TInput
The data type for the input data. Default is double[].
TOutput
The data type for the predicted variables. Default is double.

The IRegressionTInput, TOutput type exposes the following members.

Properties
  NameDescription
Public propertyNumberOfInputs
Gets or sets the number of inputs accepted by the model.
(Inherited from ITransform.)
Public propertyNumberOfOutputs
Gets or sets the number of outputs generated by the model.
(Inherited from ITransform.)
Top
Methods
  NameDescription
Public methodRegress(TInput)
Computes an output value for a given input.
Public methodRegress(TInput)
Computes output values for each vector in the given set of input vectors.
Public methodRegress(TInput, TOutput)
Computes output values for each vector in the given set of input vectors.
Public methodTransform(TInput)
Applies the transformation to an input, producing an associated output.
(Inherited from ICovariantTransformTInput, TOutput.)
Public methodTransform(TInput)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
(Inherited from ICovariantTransformTInput, TOutput.)
Public methodTransform(TInput, TOutput)
Applies the transformation to a set of input vectors, producing an associated set of output vectors.
(Inherited from ITransformTInput, TOutput.)
Top
See Also