C# Class numl.Supervised.Regression.LinearRegressionModel

Linear Regression model
Inheritance: Model
Datei anzeigen Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method Description
LinearRegressionModel ( ) : System

Initialises a new LinearRegressionModel object

Predict ( Vector x ) : double

Create a prediction based on the learned Theta values and the supplied test item.

Method Details

LinearRegressionModel() public method

Initialises a new LinearRegressionModel object
public LinearRegressionModel ( ) : System
return System

Predict() public method

Create a prediction based on the learned Theta values and the supplied test item.
public Predict ( Vector x ) : double
x numl.Math.LinearAlgebra.Vector Training record
return double