PHP 클래스 MCordingley\Regression\Algorithm\GradientDescent\MiniBatch

상속: extends GradientDescent
파일 보기 프로젝트 열기: mcordingley/regression

공개 메소드들

메소드 설명
__construct ( MCordingley\Regression\Algorithm\GradientDescent\Gradient\Gradient $gradient, MCordingley\Regression\Algorithm\GradientDescent\Schedule\Schedule $schedule, MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria $stoppingCriteria, integer $batchSize )

보호된 메소드들

메소드 설명
calculateGradient ( Observations $observations, array $coefficients ) : array

메소드 상세

__construct() 공개 메소드

public __construct ( MCordingley\Regression\Algorithm\GradientDescent\Gradient\Gradient $gradient, MCordingley\Regression\Algorithm\GradientDescent\Schedule\Schedule $schedule, MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria $stoppingCriteria, integer $batchSize )
$gradient MCordingley\Regression\Algorithm\GradientDescent\Gradient\Gradient
$schedule MCordingley\Regression\Algorithm\GradientDescent\Schedule\Schedule
$stoppingCriteria MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria
$batchSize integer

calculateGradient() 보호된 메소드

protected calculateGradient ( Observations $observations, array $coefficients ) : array
$observations MCordingley\Regression\Observations
$coefficients array
리턴 array