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

Loading Test Data in Matrix Form into dataview in ML.Net

I have a data with FloatLabel and FloatFeatureVector. FeatureVector size is variable. Once the model is trianed on traindata from a csv file,i want to run it on testdata that i generate on the fly. Each csv file is simply the sensor data from each…
0
votes
2 answers

Extracting Ngrams with ml.net

I have the following pipeline: var mlContext = new MLContext(); var data = mlContext.Data.LoadFromEnumerable(new[] { new Input {Message = "one two three one two three"}, new Input {Message = "one…
Aminion
  • 465
  • 1
  • 5
  • 13
0
votes
0 answers

Can you use ML.NET regression algorithms with partial data on the bike sharing example?

I've been thinking about how I can adapt the bike sharing regression example for ML.NET, see link at the bottom. If you look at the "DemandObservation" data structure used in this example you can see all the different fields used for the regression.…
0
votes
1 answer

load data with wrong datakind

followed the sample by MS https://github.com/tautvydasversockas/TaxiFarePrediction/blob/master/TaxiFarePrediction/Program.cs Task my project is to predict number of passagers at specific time such as Input…
0
votes
1 answer

Error when multiclass classification label is type string

I'm just starting with ML.Net and find myself confused by the rapid evolution of APIs and samples based on various API versions. My goal is to read in several numeric feature columns and one text column specifying a label ("Brand"), but I get an…
Eric J.
  • 147,927
  • 63
  • 340
  • 553
0
votes
1 answer

Training set has 0 instances, abort training exception

Im rebuilding my project to ML.NET 0.10. I get data from this link and its look like this (i saved it as .csv file in this way: diagnosis;radius_mean;texture_mean;perimeter_mean;area_mean;smoothness_mean;compactness_mean;concavity_mean;concave…
michasaucer
  • 4,562
  • 9
  • 40
  • 91
0
votes
0 answers

Simple sentiment analysis using ml.net and IEnumerable dataview

I was testing a simplest example to learn sentiment analysis using custom IEnumerable dataview instead traditional data load from text files. I created a list of TestData and TrainingData with some example review to easily learn by following the…
Vikash Rathee
  • 1,776
  • 2
  • 25
  • 43
0
votes
2 answers

After upgrading to ml.net v0.10 Fit() ist not working

I'm using .NET-Framework 4.6.1 After upgrading ML.NET to v0.10 I cannot run my code. I build my pipeline and then I have an error when executing Fit()-Method. Message = "Method not found: \"System.Collections.Generic.IEnumerable1
WaldiTUD
  • 51
  • 1
  • 3
0
votes
1 answer

MlContext doesn't understand the type of my temperature

I'm Beginner at ML.NET and I have a little problem with my data. When I put them inside mlContext.Fit(...); Here's the error I received: Column 'Temperature' has values of I4which is not the same as earlier observed type of R4. Here's my…
thelittlewozniak
  • 368
  • 1
  • 8
  • 21
0
votes
1 answer

Convert Console app to UWP app error ML.NET

I'm trying to convert a ML.NET app from win console to a UWP and I'm not loading the files into my ML pipeline. I'm getting an File Not Found error. here is my code: public static double ProcessDataBtn_Click(float tempOPS) { double…
Trey Balut
  • 1,355
  • 3
  • 19
  • 39
0
votes
1 answer

ML.NET MakePredictionFunction dynamic type?

I am able to dynamically train and create my regression model just fine from a string[] of column names. However, when I try to pass in a dynamic object with the same Parameter names as Dictionary Key Pair properties it throw the…
Reed
  • 1,515
  • 1
  • 21
  • 38
0
votes
1 answer

Compatibility/ Documentation with ML.NET on MVC5

I've read online and watched some videos concerning ML.NET and the usage of it. All the videos and documentation that I've read online were on ASP.NET Core. I was wondering if it was possible to use the ML.NET on MVC5 (Since that's what we've been…
shawn_w8
  • 33
  • 5
0
votes
0 answers

ML.NET: strange runtime error on some machines

I wrote a simple UWP app using the ML.NET framework, and it worked on one of my machines without installing any Nuget packages, without any additional setup etc. However, on my other machine, after running the application, I get this…
Eutherpy
  • 4,471
  • 7
  • 40
  • 64
0
votes
1 answer

ML.NET - Multiclass Classification score values

I currently have a project to take large bits of text and classify them as types. This is similar to the sentiment sample provided by microsoft except its multiclass instead of binary. I have the code working just fine and will likely become…
0
votes
1 answer

Does ML.Net transformations apply stopwords?

I'm new to ML.Net and playing around with some basic MultiClassClassification scenarios and wondering if it can already handle stopwords by default now or should I do that in my data prep?
Webjedi
  • 4,677
  • 7
  • 42
  • 59