* initial classification bias.
*/
protected LinearTrainer(int dimension, double threshold,
double init, double initBias) {
DenseVector initialWeights = new DenseVector(dimension);
initialWeights.assign(init);
this.model = new LinearModel(initialWeights, initBias, threshold);
}
/**
* Initializes training. Runs through all data points in the training set and