|
| 1 | +# ML.NET 0.5 Release Notes |
| 2 | + |
| 3 | +Today we are excited to release ML.NET 0.5. This release adds |
| 4 | +[TensorFlow](https://www.tensorflow.org/) model scoring as a transform to |
| 5 | +ML.NET. This enables using an existing TensorFlow model within an ML.NET |
| 6 | +experiment. In addition to this, we have continued the work on new APIs that |
| 7 | +enable currently missing functionality. We welcome feedback and contributions |
| 8 | +to the conversation: relevant issues can be found |
| 9 | +[here](https://github.com/dotnet/machinelearning/projects/4). A simple example |
| 10 | +of the new APIs can be found |
| 11 | +[here](https://github.com/dotnet/machinelearning/blob/21b61447a342718c93f4b47ef8b5f2ec6d9f0c44/test/Microsoft.ML.Tests/Scenarios/Api/AspirationalExamples.cs). |
| 12 | + |
| 13 | +### Installation |
| 14 | + |
| 15 | +ML.NET supports Windows, MacOS, and Linux. See [supported OS versions of .NET |
| 16 | +Core |
| 17 | +2.0](https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md) |
| 18 | +for more details. |
| 19 | + |
| 20 | +You can install ML.NET NuGet from the CLI using: |
| 21 | +``` |
| 22 | +dotnet add package Microsoft.ML |
| 23 | +``` |
| 24 | + |
| 25 | +From package manager: |
| 26 | +``` |
| 27 | +Install-Package Microsoft.ML |
| 28 | +``` |
| 29 | + |
| 30 | +### Release Notes |
| 31 | + |
| 32 | +Below are some of the highlights from this release. |
| 33 | + |
| 34 | +* Added a TensorFlow model scoring transform (TensorFlowTransform) |
| 35 | + ([#704](https://github.com/dotnet/machinelearning/pull/704)) |
| 36 | + |
| 37 | + * [TensorFlow](https://www.tensorflow.org/) is a popular machine learning |
| 38 | + toolkit that enables training deep neural networks (and general numeric |
| 39 | + computations). |
| 40 | + * This transform enables taking an existing TensorFlow model, either |
| 41 | + trained by you or downloaded from somewhere else, and get the scores |
| 42 | + from the model in ML.NET. |
| 43 | + * For now, these scores can be used within a `LearningPipeline` as inputs |
| 44 | + to a learner. However, with the upcoming ML.NET APIs, the scores from |
| 45 | + the TensorFlow model will be directly accessible. |
| 46 | + * The implementation of this transform is based on code from |
| 47 | + [TensorFlowSharp](https://github.com/migueldeicaza/TensorFlowSharp). |
| 48 | + * Example usage of the transform with the existing `LearningPipeline` API |
| 49 | + can be found |
| 50 | + [here](https://github.com/dotnet/machinelearning/blob/6ac380a4d3f44ee7b015461f74c4298b0ed5184b/test/Microsoft.ML.Tests/Scenarios/TensorflowTests.cs) |
| 51 | + * In the future, we will add functionality in ML.NET to enable identifying |
| 52 | + the expected inputs and outputs of TensorFlow models. For now, the |
| 53 | + TensorFlow APIs or a tool like |
| 54 | + [Netron](https://github.com/lutzroeder/Netron) can be used. |
| 55 | + |
| 56 | +Additional issues closed in this milestone can be found |
| 57 | +[here](https://github.com/dotnet/machinelearning/milestone/4?closed=1). |
| 58 | + |
| 59 | +### Acknowledgements |
| 60 | + |
| 61 | +Shoutout to [adamsitnik](https://github.com/adamsitnik), |
| 62 | +[Jongkeun](https://github.com/Jongkeun), and the ML.NET team for their |
| 63 | +contributions as part of this release! |
0 commit comments