public void Train(IEnumerable <Rating> ratings) { var newPredictor = new CosinePredictor(5, 3); newPredictor.Train(ratings); predictor = newPredictor; }
public Channel1Service() { this.predictor = new CosinePredictor(5, 3); }