C# 클래스 numl.Reinforcement.QLearning.QLearnerModel

A Q-Learner Model.
상속: ReinforcementModel
파일 보기 프로젝트 열기: sethjuarez/numl

공개 메소드들

메소드 설명
Learn ( Vector x1, double y, Vector x2, double r ) : void

Updates the Q-Learner model by reinforcing with the new state/action and transition state feedback values.

Learn ( Vector x, double y, double r ) : void

Updates the Q-Learner model by reinforcing with the new state/action feedback values.

Predict ( Vector y ) : double

Predicts the best action for the current state.

QLearnerModel ( ) : System

Initializes a new Q-Learner model.

메소드 상세

Learn() 공개 메소드

Updates the Q-Learner model by reinforcing with the new state/action and transition state feedback values.
public Learn ( Vector x1, double y, Vector x2, double r ) : void
x1 numl.Math.LinearAlgebra.Vector Item features, i.e. the original State.
y double Action label.
x2 numl.Math.LinearAlgebra.Vector Transition state value.
r double Reward value.
리턴 void

Learn() 공개 메소드

Updates the Q-Learner model by reinforcing with the new state/action feedback values.
public Learn ( Vector x, double y, double r ) : void
x numl.Math.LinearAlgebra.Vector State vector.
y double Action label.
r double Reward value.
리턴 void

Predict() 공개 메소드

Predicts the best action for the current state.
public Predict ( Vector y ) : double
y numl.Math.LinearAlgebra.Vector
리턴 double

QLearnerModel() 공개 메소드

Initializes a new Q-Learner model.
public QLearnerModel ( ) : System
리턴 System