C# Class numl.Supervised.Regression.LogisticRegressionGenerator

A logistic regression generator.
Inheritance: Generator
Afficher le fichier Open project: sethjuarez/numl Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat IModel

IncreaseDimensions() public static méthode

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
Résultat Matrix

LogisticRegressionGenerator() public méthode

Initialises a LogisticRegressionGenerator object
public LogisticRegressionGenerator ( ) : System
Résultat System