Multivariable Module

Functions and values

Function or value Description

fit epsilon alpha xData yData

Full Usage: fit epsilon alpha xData yData

Parameters:
    epsilon : float -
    alpha : float -
    xData : Matrix<float> -
    yData : Vector<float> -

Returns: Vector<float>

Calculates the weights for logistic regression.

epsilon : float

alpha : float

xData : Matrix<float>

yData : Vector<float>

Returns: Vector<float>

Example

predict coef x

Full Usage: predict coef x

Parameters:
Returns: float

Returns the regression function

coef : Vector<float>

x : Vector<float>
Returns: float

Example

predictFunc coef x

Full Usage: predictFunc coef x

Parameters:
Returns: float

Returns the regression function

coef : Vector<float>

x : Vector<float>
Returns: float

Example