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
11
votes
3 answers

Could not load file or assembly System.Numeric.Vectors in ML.NET

I created a new console application .net46, install the latest ML and tried a simple LDA. Got the error above. None of the fix that I found on the web seems to work. It is looking for a 4.1.3.0 version of the System.Numerics.Vectors that does not…
Marc Engher
  • 111
  • 1
  • 1
  • 3
10
votes
2 answers

ML.Net retrain existing model rather than training new model

I am training a ML.Net machine learning model. I can train it and predict from it, and save/load it from the disk. But I need to be able to load it off the disk, then retrain it, or add to it with new information to improve it over time. Does anyone…
craig
  • 421
  • 4
  • 13
9
votes
0 answers

ML.NET: how to retrain a text classification model with new data

I am pretty new to machine learning in general, and to Microsoft ML.NET in particular. What I am trying to do is to create a re-trainable model for text classification. Suppose I have an Article (for training) and an ArticlePrediction (for the…
ripe_bananas
  • 1,060
  • 9
  • 13
9
votes
3 answers

How to predict integer values using ML.NET?

I'm looking at a the cs file here: https://www.microsoft.com/net/learn/apps/machine-learning-and-ai/ml-dotnet/get-started/windows and everything works well. Now I'd like to improve the example: I'd like to predict a number-only data set and not a…
Rowandish
  • 2,655
  • 3
  • 31
  • 52
8
votes
1 answer

Correct pb file to move Tensorflow model into ML.NET

I have a TensorFlow model that I built (a 1D CNN) that I would now like to implement into .NET. In order to do so I need to know the Input and Output nodes. When I uploaded the model on Netron I get a different graph depending on my save method and…
Josh
  • 159
  • 2
  • 10
8
votes
9 answers

Unable to load DLL 'tensorflow' or one of its dependencies (ML.NET)

I have a .NET Core 3 app for image classification, using Microsoft's ML.NET framework. On my development machine, I can run the code and it all works fine. However, when I deploy it to my staging server, I get this error at…
Kevin Owens
  • 189
  • 1
  • 3
8
votes
1 answer

How to translate the intro ML.Net demo to F#?

I'm looking at a the cs file here: https://www.microsoft.com/net/learn/apps/machine-learning-and-ai/ml-dotnet/get-started/windows and in my attempt to translate it to F# it compiles just fine but throws a System.Reflection.TargetInvocationException…
jks612
  • 1,224
  • 1
  • 11
  • 20
7
votes
1 answer

Can speech recognition be done in ML.NET?

I am new to Machine Learning. I came across ML.NET (Machine Learning framework by Microsoft). Can we use this framework for speech recognition? What all things you should know if you want to do a speech recognition in ML.NET?
Kashyap Neeraj
  • 154
  • 3
  • 14
7
votes
1 answer

How to return transformed data from an ML.Net pipeline before a predictor is applied

Here is the creation of the ML.Net pipeline object copied from the TaxiFarePrediction example. LearningPipeline pipeline = new LearningPipeline { new TextLoader(TrainDataPath).CreateFrom(separator:','), …
Gaspare Bonventre
  • 1,134
  • 11
  • 19
7
votes
0 answers

Machine learning - Score column is missing

I'm trying out the ML.net framework with some random test data. My data exists of a DepartmentId (1-25) and a Body (string). I want my machine to predict the department that the body should be allocated (for example in a ticket system like…
Detilium
  • 2,868
  • 9
  • 30
  • 65
6
votes
1 answer

Microsoft.ML and Xamarin

Does Microsoft.ML work in Xamarin? I have followed many of the tutorials and videos at https://dotnet.microsoft.com/learn/ml-dotnet. The simple tutorial (here) sets out the core process, which I have followed (in a Xamarin project) but I cannot get…
nixop
  • 61
  • 5
6
votes
2 answers

Can't get input column name of ONNX model to work

I am using ML.NET to import an ONNX model to do object detection. For the record, I exported the model from the CustomVision.ai site from Microsoft. I inspected the model file in Netron and it clearly shows the input node as being named "data" and…
Michael Bedford
  • 1,742
  • 20
  • 48
6
votes
2 answers

Load model with ML.NET saved with keras

I have a Neural Network implemented in Python with Keras. Once I have trained it I have exported the model and I have got two files: model.js and model.h5. Now I want to classify in real time inside a .NET project and I want to use the trained…
Ignacio
  • 806
  • 1
  • 10
  • 29
6
votes
2 answers

ML.Net 0.7 - Get Scores and Labels for MulticlassClassification

I'm using ML.NET 0.7 and have a MulticlassClassification model with the following result class: public class TestClassOut { public string Id { get; set; } public float[] Score { get; set; } public string PredictedLabel { get; set; } } I'd…
jondow
  • 624
  • 5
  • 15
5
votes
2 answers

ML.NET Create Prediction Engine using Dynamic Class

I have an ML.NET application where I have to create interface IDataView dynamically after compile time to be used for training. I found this thread and I've been able to successfully create a dynamic interface for the training data set and then use…
andyopayne
  • 1,348
  • 3
  • 24
  • 49
1
2 3
42 43