/// <summary> /// Initialize this strategy. /// </summary> /// /// <param name="train_0">The training algorithm.</param> public void Init(IMLTrain train_0) { _train = train_0; _setter = (IMomentum)train_0; _ready = false; _setter.Momentum = 0.0d; _currentMomentum = 0; }
public void Init(IMLTrain train_0) { this._xd87f6a9c53c2ed9f = train_0; this._x6947f9fc231e17e8 = (IMomentum) train_0; this._x6c7711ed04d2ac90 = false; this._x6947f9fc231e17e8.Momentum = 0.0; this._xd02ba004f6c6d639 = 0.0; }
/// <summary> /// Initialize this strategy. /// </summary> /// <param name="train">The training algorithm.</param> public void Init(ITrain train) { this.train = train; this.setter = (IMomentum)train; this.ready = false; this.setter.Momentum = 0.0; this.currentMomentum = 0; }
/// <summary> /// Initialize this strategy. /// </summary> /// /// <param name="train_0">The training algorithm.</param> public void Init(IMLTrain train_0) { _train = train_0; _setter = (IMomentum) train_0; _ready = false; _setter.Momentum = 0.0d; _currentMomentum = 0; }