PHP 클래스 MathPHP\Statistics\Regression\ParametricRegression

상속: extends Regression
파일 보기 프로젝트 열기: markrogoyski/math-php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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