2 types derived from TrainStateBase
Microsoft.ML.StandardTrainers (2)
Standard\Online\AveragedLinear.cs (1)
132
private protected abstract class AveragedTrainStateBase :
TrainStateBase
Standard\Online\LinearSvm.cs (1)
117
private sealed class TrainState :
TrainStateBase
8 references to TrainStateBase
Microsoft.ML.StandardTrainers (8)
Standard\Online\AveragedPerceptron.cs (1)
212
private protected override
TrainStateBase
MakeState(IChannel ch, int numFeatures, LinearModelParameters predictor)
Standard\Online\LinearSvm.cs (1)
320
private protected override
TrainStateBase
MakeState(IChannel ch, int numFeatures, LinearModelParameters predictor)
Standard\Online\OnlineGradientDescent.cs (1)
181
private protected override
TrainStateBase
MakeState(IChannel ch, int numFeatures, LinearModelParameters predictor)
Standard\Online\OnlineLinear.cs (5)
201
/// Called by <see cref="TrainCore(IChannel, RoleMappedData,
TrainStateBase
)"/> at the start of a pass over the dataset.
212
/// Called by <see cref="TrainCore(IChannel, RoleMappedData,
TrainStateBase
)"/> after a pass over the dataset.
294
var
state = MakeState(ch, numFeatures, initLinearPred);
313
private void TrainCore(IChannel ch, RoleMappedData data,
TrainStateBase
state)
351
private protected abstract
TrainStateBase
MakeState(IChannel ch, int numFeatures, LinearModelParameters predictor);