Sub task of https://github.com/dotnet/machinelearning/issues/2613 `AveragePerceptron` `LinearSVM` `OnlineGradientDescentTrainer` and their base classes