public void TestEstimatorOlsLinearRegression() { var dataView = GetRegressionPipeline(); var trainer = new OlsLinearRegressionTrainer(Env, new OlsLinearRegressionTrainer.Options()); TestEstimatorCore(trainer, dataView); var model = trainer.Fit(dataView); trainer.Fit(dataView, model.Model); Done(); }
public void TestEstimatorOlsLinearRegression() { var dataView = GetRegressionPipeline(); var trainer = new OlsLinearRegressionTrainer(Env, "Label", "Features"); TestEstimatorCore(trainer, dataView); var model = trainer.Fit(dataView); trainer.Train(dataView, model.Model); Done(); }