public void train_model(string ball, string empty, string error) { properties.load_ball_training(ball); properties.load_empty_training(empty); properties.load_error_training(error); nb = naiveBayes.Learn(properties.trainingInput, properties.trainingOutput); }
public void train_model() { properties.load_ball_training(); properties.load_empty_training(); properties.load_error_training(); nb = naiveBayes.Learn(properties.trainingInput, properties.trainingOutput); }