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
2 answers

ML.Net Data Loader (Memory)

The ML.Net examples which I've found all use TextLoader to load data via csv or the like. how would one go about loading data in to a trainer without TextLoader, I am streaming a lot of data to a List var pipeline = new LearningPipeline { new…
0
votes
1 answer

ML.NET skipping columns from datasets

I have a question. As we know, ML.NET is amazing framework for .NET, its doing a lot of things by "yourself" so sometimes its hard to get deep into inside. I have dataset with 30 diffrent features. Im afraid of overfit, so im looking for the easiest…
michasaucer
  • 4,562
  • 9
  • 40
  • 91
0
votes
2 answers

ML.NET - Loading variable number of feature columns

I would like a general learning pipeline (from N features predict a label, for example), in the sense that one of my input CSVs would have 5 features and another would have 10 features (those two CSVs would obviously produce different models, I…
asdf
  • 721
  • 2
  • 8
  • 24
0
votes
2 answers

How to act on a class with ml.net?

I have a public class with a couple of public methods. The class may also have public properties that indicate the state. The methods may have parameters. Perhaps a return value. Perhaps some of them are defined as asynchronous. Lets say the class…
Fred
  • 12,086
  • 7
  • 60
  • 83
0
votes
1 answer

what if i pass categorical value for ML.Net prediction never passed before

for example, if I trained the model for these values Column1 = A , Column2 = B , Column3 = C , Label = 10 Column1 = D , Column2 = E , Column3 = F , Label = 20 Column1 = G , Column2 = H , Column3 = I , Label = 30 What if i want to predict? Column1…
user897645
  • 85
  • 2
  • 8
0
votes
1 answer

ml.net sentiment analysis build generates Unable to start program 'C:\Program Files\dotnet\dotnet.exe'

I have installed VS2017 ver. 15.7.5 and followed the instructions to build the SentimentAnalysis project as described here: https://learn.microsoft.com/en-us/dotnet/machine-learning/tutorials/sentiment-analysis. When I try to debug the code, I get…
SaulN
  • 11
  • 1
0
votes
1 answer

Microsoft.ML --version 0.3.0 -- Unable to Get started with ML.NET in 10 minutes

I have follow the steps provide in (https://www.microsoft.com/net/learn/apps/machine-learning-and-ai/ml-dotnet/get-started/windows) to get started with ML.NET in 10 minutes. But on running the app. Console is through below runtime error. Unhandled…
ideepak04
  • 36
  • 4
0
votes
1 answer

Structure of a binary tree

What i am trying to do: I want to display a tree. What i have done: I used ML.net to train a Decision Tree Model using the random forrest algorithm. The random forrest algorithm results in multiple regression trees, which i want to display. When i…
Sebastian L
  • 838
  • 9
  • 29
0
votes
1 answer

ML.Net fails to load a model from storage in MVC project

I have been playing around with ML.Net and wanted to integrate it in an ASP.NET MVC project. I have a console app that is responsible for training the model and then saving it to a folder on the server which the MVC project will then load it and…
MrCSharp
  • 1,143
  • 17
  • 28
-1
votes
0 answers

c# Dataframe - how to visualize dataframe in a not notebook app

how to visualize a dataframe in a NOT NOTEBOOK APP (in a console application e.g.) using a library like XPlot.Plotly in a console application var data = Enumerable.Range(0, 100).Select(v => v + .0); Chart.Bar(data).Show(); it opens the browser…
pinale
  • 2,060
  • 6
  • 38
  • 72
-1
votes
0 answers

ML.NET filePath cannot be null or empty

For an image differentiating machine learning model, I am testing a scenario where I have 4800 images. after I add the data image previews and categories are recognized correctly. when the training starts however, after some time I receive a…
-1
votes
0 answers

How to get multiple output labels in Ml.net

I'm new to ML.Net and I've tried some basics from the ML.net tutorials. Now, I want to integrate it into my application. Here's a sample dataset I have: Description,Actions Added new file and add that user to a folder | Create file, Add folder…
-1
votes
1 answer

Multiple inputs for text specification prediction in ML.Net

I have a Category and Value model built on ML.Net. Category is my label and the prediction. If I pass a single input it gives me the prediction accordingly. I want to input multiple inputs for a particular Category and get predication according to…
Amila
  • 52
  • 1
  • 1
  • 10
-1
votes
1 answer

Can the python shap package be used with MLNET models (or models that are not sklearn)?

Every example I've found using the Shap package demonstrates with models from sklearn. How would I extend this to an ML.Net model? Do I just need a score file, ground truth file and prediction file? I've checked this documentation:…
Lee
  • 49
  • 5
-1
votes
1 answer

Can't create an inference session in onnxruntime

I am not able to create an instance of InferenceSession using onnxruntime. My platform is Mac OS(Big Sur). The code doesn't even throw any exceptions. Process is simply being killed. The same code works perfectly on Windows. Here are the…
Niyazi Babayev
  • 120
  • 2
  • 9