C# Класс numl.Supervised.Regression.LogisticRegressionGenerator

A logistic regression generator.
Наследование: Generator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Generate() публичный Метод

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.
Результат IModel

IncreaseDimensions() публичный статический Метод

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
Результат Matrix

LogisticRegressionGenerator() публичный Метод

Initialises a LogisticRegressionGenerator object
public LogisticRegressionGenerator ( ) : System
Результат System