dotnet / dotnet/website-feedback

The "ML.NET Tutorial - Get started in 10 minutes" tutorial fails

Open
#956 0 comments 0 reactions 0 assignees View on GitHub
area-tutorials needs-triage
Dominant language
No language data
Stars
7
Forks
57
PR merge metrics
No merged PRs in 30d

Description

### URL

https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/intro

### Operating system

linux

### More information about your system

Lapotop: Acer Nitro AN517-54
OS & version: Ubuntu 25.10
CPU: x64 - 11th Gen Intel® Core™ i5-11400H × 12
.NET version: 10.0.100-rc.2.25502.107
ML.NET version: 16.18.2+255dca7057095f9c073a8031db28ddf3a2a4ee27

### Description

I was executing the instructions of the `ML.NET Tutorial - Get started in 10 minutes` tutorial step by step and resulted in the situation below:

After I run the `dotnet run` command in `SentimentModel` folder, I get results below:
Col0: Wow... Loved this place.
Col1: 1
Class Score
----- -----
1 0.5
0 0.5

Obviously, results are wrong, as due to tutorial, the `Wow... Loved this place.` should have been closer to something like:
Class Score
----- -----
1 0.9651076
0 0.034892436

### dotnet --info

.NET SDK:
Version: 10.0.100-rc.2.25502.107
Commit: 89c8f6a112
Workload version: 10.0.100-manifests.0cee6f9c
MSBuild version: 18.0.0-preview-25502-107+89c8f6a11

Runtime Environment:
OS Name: ubuntu
OS Version: 25.10
OS Platform: Linux
RID: ubuntu.25.10-x64
Base Path: /usr/lib/dotnet/sdk/10.0.100-rc.2.25502.107/

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 10.0.0-rc.2.25502.107
Architecture: x64
Commit: 89c8f6a112

.NET SDKs installed:
8.0.121 [/usr/lib/dotnet/sdk]
9.0.111 [/usr/lib/dotnet/sdk]
10.0.100-rc.2.25502.107 [/usr/lib/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.21 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.10 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.0-rc.2.25502.107 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.21 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.10 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0-rc.2.25502.107 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.