Questions tagged [ml.net]

ML.NET is a machine learning framework built for .NET developers. Uses .NET and C# or F# to easily integrate custom machine learning into applications without the requirement of extensive prior expertise in developing or tuning machine learning models. Use this tag for discussion about the framework or apps built within.

Get started at dot.net/ml

Get involved at github.com/dotnet/machinelearning

View samples at github.com/dotnet/machinelearning-samples

632 questions
0
votes
0 answers

Cant install ML.NET on MAC OS (DotnetTool not supported by project)

I'm trying to install mlnet 0.15.1 on Mac OS 10.14.6 (Mojave) using the Rider and .Net Framework v4.7.2, but I am still getting error message saying that DotnetTool is not supported by the project. What does it mean? Full log using…
hory
  • 305
  • 1
  • 4
  • 12
0
votes
1 answer

Is GPU-based binary classification using C# and LightGBM possible (yet?)

I am rather new to ML and started using ML.NET early this year. Perhaps I am not educated enough on it, but I am attempting to find information on implementing GPU-based binary classification using C# and LightGBM. Despite numerous searches I cannot…
J.B.
  • 268
  • 1
  • 5
  • 15
0
votes
1 answer

ML.NET vs Azure ML Studio

I have to do a sales prediction and I'm evaluation using a ML.NET solution hosted in a virtual machine(in Azure) vs using Azure ML Studio. The data may change once or twice per month. Which solutions should I choose? Also, for my use case, pricing…
Marius B.
  • 478
  • 6
  • 18
0
votes
0 answers

ML.net modelbuilder where to find the test data?

In the documentation from ML.net is says the following: Model Builder splits the training data into a training set and a test set. The training data (80%) is used to train your model and the test data (20%) is held back to evaluate your model.…
Patrick
  • 331
  • 3
  • 18
0
votes
1 answer

Multiclassification in ML.net

I have used the ML.net modelbuilder to apply multi-classification. My label (prediction) in this classification is the product class code. To make this prediction, I used the following features: manufacturer id manufacturer product…
Patrick
  • 331
  • 3
  • 18
0
votes
1 answer

How to gain acces to the bias and weights in ML.NET?

Ive got a linear regression model in ML.NET and the predictions are working fine: MLContext mlContext = new MLContext(seed: 0); List inputs = new List(); foreach (var…
actopozipc
  • 93
  • 12
0
votes
1 answer

ML.NET better looking metrics

In v0.9 we had nice looking metrics: In v1.4, everything is simplier: Console.WriteLine("----------Testing model----------\n"); var testData = mlContext.Data.LoadFromTextFile("Cancer-test.csv", hasHeader: true, separatorChar: ';'); var…
michasaucer
  • 4,562
  • 9
  • 40
  • 91
0
votes
1 answer

ML.NET v1.4, expected Boolean, got Single exception

I want to train binary classificator. I upgraded ML.NET 0.9 to ML.NET 1.4. Now my code looks like this: var mlContext = new MLContext(); var trainData = mlContext.Data.LoadFromTextFile("Cancer-train.csv", hasHeader: true, separatorChar:…
michasaucer
  • 4,562
  • 9
  • 40
  • 91
0
votes
1 answer

Exception in PredictionEngineBase when using Time Series model with PredictionEnginePool (ML.NET)

I've created a Time Series model using the method described here resulting in this code: var data = items.ToArray(); var trainData = mlContext.Data.LoadFromEnumerable(data); var estimator = mlContext.Forecasting.ForecastBySsa( …
Neo
  • 4,145
  • 6
  • 53
  • 76
0
votes
1 answer

ImageClassification.Fit - IndexOutOfRangeException

I've used the Fit method to train my model, that's generating exception "Index was outside the bounds of the array". I've created one library .Net Core 3.1 and a UnitTesting (.Net Core 3.1) where the UnitTesting call a property "Training()" in my…
Nicolò
  • 11
  • 5
0
votes
0 answers

ML.Net soccer prediction returns incorrect results

I have the following code in ML.NET which reads historic football matches odds and results and the tries to predict result based on passed odds but the prediction is disappointing and every time it gives different prediction even if I use the exact…
pantonis
  • 5,601
  • 12
  • 58
  • 115
0
votes
2 answers

Getting RegressionTree from ML.Net fastree model

I hope you are having a great day. I encountered a problem for taking a look at an internal structure of decision tree model from ML.Net FastTree I made my model by following this instruction from…
Thomas J
  • 35
  • 9
0
votes
1 answer

Is it possible to do one-class classification with Microsoft ML.NET?

Is it possible to do one-class classification (wiki) with Microsoft ML.NET? I.e. in the training data set there is only one (the positive) class and I would like to tell if some test data belongs to this class or not. Can this be accomplished wiht…
ripe_bananas
  • 1,060
  • 9
  • 13
0
votes
1 answer

ML.NET - Normalizing date time data

so the case is to simply forecast some feature value Y (let it be type float) given specific time T. Currently I've got simple 2 column data like 2019-10-18 10:00 | 1.0 2019-10-18 12:00 | 2.5 and so on. Simple input data can represent changing…
Macko
  • 906
  • 3
  • 11
  • 27
0
votes
1 answer

Is there any way to add new user to recommender system without rebuilding the model in ml.net recommender task?

I have recommender system based on some dataset. But what if i want to add new user to and predict for this user recommendation? Question based on this tutorial https://learn.microsoft.com/en-us/dotnet/machine-learning/tutorials/movie-recommendation