Skip to content

Commit e54f295

Browse files
authored
Update Readme
1 parent dfa38ab commit e54f295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 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.11. Check out the [release notes](docs/release-notes/0.11/release-0.11.md) to see what's new.
21+
The current release is 1.0.0-preview. Check out the [release notes](docs/release-notes/1.0.0-preview/release-1.0.0-preview.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

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

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

0 commit comments

Comments
 (0)