Skip to content

Remove stale line of code from test. #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void TrainAndPredictSentimentModelTest()
var model = pipeline.Train<SentimentData, SentimentPrediction>();
var testData = PrepareTextLoaderTestData();
var evaluator = new BinaryClassificationEvaluator();
BinaryClassificationMetrics metrics = evaluator.Evaluate(model, testData);
var metrics = evaluator.Evaluate(model, testData);
ValidateExamples(model);
ValidateBinaryMetrics(metrics);
}
Expand All @@ -36,7 +36,6 @@ public void TrainAndPredictSentimentModelTest()
public void TrainTestPredictSentimentModelTest()
{
var pipeline = PreparePipeline();
PredictionModel<SentimentData, SentimentPrediction> model = pipeline.Train<SentimentData, SentimentPrediction>();
var testData = PrepareTextLoaderTestData();
var tt = new TrainTestEvaluator().TrainTestEvaluate<SentimentData, SentimentPrediction>(pipeline, testData);

Expand Down