C# 클래스 numl.Supervised.Regression.LogisticRegressionModel

A Logistic Regression Model object
상속: Model, IClassifier
파일 보기 프로젝트 열기: sethjuarez/numl 1 사용 예제들

공개 메소드들

메소드 설명
IncreaseDimensions ( Vector x, int polynomialFeatures ) : Vector

Adds a specified number of polynomial features to the training / test Vector.

LogisticRegressionModel ( ) : System

Default constructor

Predict ( Vector x ) : double

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

PredictRaw ( Vector x ) : double

Computes the probability of the prediction being True.

메소드 상세

IncreaseDimensions() 공개 정적인 메소드

Adds a specified number of polynomial features to the training / test Vector.
public static IncreaseDimensions ( Vector x, int polynomialFeatures ) : Vector
x numl.Math.LinearAlgebra.Vector Training / Testing record
polynomialFeatures int Number of polynomial features to add
리턴 numl.Math.LinearAlgebra.Vector

LogisticRegressionModel() 공개 메소드

Default constructor
public LogisticRegressionModel ( ) : System
리턴 System

Predict() 공개 메소드

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
리턴 double

PredictRaw() 공개 메소드

Computes the probability of the prediction being True.
public PredictRaw ( Vector x ) : double
x numl.Math.LinearAlgebra.Vector
리턴 double