PHP Класс MathPHP\Statistics\Regression\ParametricRegression

Наследование: extends Regression
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$parameters An array of model parameters

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

Метод Описание
__construct ( array $points ) Have the parent separate the points into xs and ys.
__toString ( ) : string Return the model as a string
getEquation ( ) : string Get the equation Uses the model's getModelEquation method.
getParameters ( ) : array Get the parameters Uses the model's getModelParameters method.

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

__construct() публичный метод

Calculate the regression parameters
public __construct ( array $points )
$points array

__toString() публичный метод

Return the model as a string
public __toString ( ) : string
Результат string

getEquation() публичный метод

Get the equation Uses the model's getModelEquation method.
public getEquation ( ) : string
Результат string

getParameters() публичный метод

Get the parameters Uses the model's getModelParameters method.
public getParameters ( ) : array
Результат array

Описание свойств

$parameters защищенное свойство

An array of model parameters
protected $parameters