Skip to content

Commit 16f6a3f

Browse files
authored
Update Readme
1 parent 176b35f commit 16f6a3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Along with these ML capabilities, this first release of ML.NET also brings the f
1818

1919
ML.NET runs on Windows, Linux, and macOS using [.NET Core](https://github.com/dotnet/core), or Windows using .NET Framework. 64 bit is supported on all platforms. 32 bit is supported on Windows, except for TensorFlow, LightGBM, and ONNX related functionality.
2020

21-
The current release is 0.8. Check out the [release notes](docs/release-notes/0.8/release-0.8.md) and [blog post](https://blogs.msdn.microsoft.com/dotnet/2018/12/02/announcing-ml-net-0-8-machine-learning-for-net/) to see what's new.
21+
The current release is 0.9. Check out the [release notes](docs/release-notes/0.9/release-0.9.md) to see what's new.
2222

2323
First, ensure you have installed [.NET Core 2.1](https://www.microsoft.com/net/learn/get-started) or later. ML.NET also works on the .NET Framework 4.6.1 or later, but 4.7.2 or later is recommended.
2424

@@ -85,8 +85,8 @@ var model = learningPipeline.Fit(data);
8585
Now from the model we can make inferences (predictions):
8686

8787
```C#
88-
var predictionFunc = model.MakePredictionFunction<SentimentData, SentimentPrediction>(mlContext);
89-
var prediction = predictionFunc.Predict(new SentimentData
88+
var predictionEngine = model.CreatePredictionEngine<SentimentData, SentimentPrediction>(mlContext);
89+
var prediction = predictionEngine.Predict(new SentimentData
9090
{
9191
SentimentText = "Today is a great day!"
9292
});

0 commit comments

Comments
 (0)