C# Class numl.Supervised.Regression.LogisticRegressionGenerator

A logistic regression generator.
Inheritance: Generator
Mostrar archivo Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method Description
Generate ( Matrix X, Vector y ) : IModel

Generate Logistic Regression model based on a set of examples.

IncreaseDimensions ( Matrix x, int polynomialFeatures ) : Matrix

Adds a specified number of polynomial features to the training set Matrix.

LogisticRegressionGenerator ( ) : System

Initialises a LogisticRegressionGenerator object

Method Details

Generate() public method

Generate Logistic Regression model based on a set of examples.
public Generate ( Matrix X, Vector y ) : IModel
X Matrix The Matrix to process.
y numl.Math.LinearAlgebra.Vector The Vector to process.
return IModel

IncreaseDimensions() public static method

Adds a specified number of polynomial features to the training set Matrix.
public static IncreaseDimensions ( Matrix x, int polynomialFeatures ) : Matrix
x Matrix Training set
polynomialFeatures int Number of polynomial features to add
return Matrix

LogisticRegressionGenerator() public method

Initialises a LogisticRegressionGenerator object
public LogisticRegressionGenerator ( ) : System
return System