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

Inter-Operablity of ML Models between python and C#

Is there any way to use python ML model in ml .net for prediction. Is it inter-operable? I know there are some other ways using Process to fire python script but here I am looking for inter-operablity of Python ML models. I have tried with Process…
0
votes
1 answer

Inception settings changed: Computed output size would be negative: -4 [input_size: 2, effective_filter_size: 7, stride: 1]

I was working along the image classifier ML.net sample code over at https://learn.microsoft.com/en-US/dotnet/machine-learning/tutorials/image-classification The classification there uses the following inception settings private struct…
Samuel
  • 6,126
  • 35
  • 70
0
votes
1 answer

How to identify language using ML.NET?

Is it possible to identify language using ML.NET like fastText does it, but it is in python: https://fasttext.cc/docs/en/language-identification.html But I'd like to do it in SQLCLR function and in NET Core application.
ZedZip
  • 5,794
  • 15
  • 66
  • 119
0
votes
1 answer

Can ML.NET parse/load .tfrecord files?

I’ve been looking at some open Tensorflow datasets, and was wondering if I can use ML.NET to parse the .tfrecord files and export the schema. I haven’t found anything saying ML.NET can support this, but curious if anyone knows of an existing…
Kirk Marple
  • 333
  • 1
  • 9
0
votes
2 answers

Could not load file or assembly 'Microsoft.ML.Api'

When I trying to use LoadFromEnumerable to load my dataset which is implemented as List I got the following error (as mentioned in the title) Could not load file or assembly 'Microsoft.ML.Api, Version=1.0.0.0, Culture=neutral,…
Lau Chun Hong
  • 61
  • 1
  • 3
0
votes
1 answer

Schema mismatch for feature column 'Features':

Schema mismatch for feature column 'Features': expected Vector, got Vector Parameter name: inputSchema That error occur on following code static readonly string _dataPat=Path.Combine(Environment.CurrentDirectory, "Data", "train_data.csv"); static…
Ayesha Sheikh
  • 13
  • 1
  • 5
0
votes
2 answers

ML.Net Data.SaveAsText CSV file cannot be loaded by Model Builder

I export my current ML.Net Data to a CSV with this function using (var stream = File.Create("c:\\temp\\aidata.csv")) mlContext.Data.SaveAsText(trainData, stream); The saved data looks ok, but when I try to load the CSV with…
Mario
  • 13,941
  • 20
  • 54
  • 110
0
votes
1 answer

DetectSpikeBySsa get model parameters and retrain it (ML.NET v1.2.0)

I'm working on a TimeSeries model, and need to analyze the anomalies of the data collection. To do that, I'm using DetectSpikeBySsa. But the thing is, what I need now it is to retrain the model for the future data. I've already search for…
0
votes
2 answers

Azure Video indexer not retrieve the emotion from video file

I am trying to retrieve the emotion of peoples in a video file. I am using Azure Video Indexer tool to achieve this. I read the documentation about video indexer output file in MSDN website. But my case there is no emotion values are captured in the…
Ragesh P Raju
  • 3,879
  • 14
  • 101
  • 136
0
votes
1 answer

Identifying accuracy and dropped features with AutoML (ml.net)

I have been playing with ML.Net AutoML and having a blast with it. I still have some questions and hope someone either could help or guide me in the right direction with some of my questions. Question 1: I have a trained binary classification model…
Micha Schopman
  • 221
  • 2
  • 14
0
votes
0 answers

Speech recognition with machine learning

How could I use ML.NET to improve speech recognition? For example instead of writing loads of commands, could I just use machine learning for the program, so it gradually learns to understand voice commands and will be able to execute them? Are…
toborm
  • 1
  • 2
0
votes
1 answer

Clustering on categorical data in ml.net

I am struggling with clustering of categorical data in ML.NET. var predictor = mlContext.Model.CreatePredictionEngine(model) line fails with exception "System.InvalidOperationException: 'Incompatible features column type: 'Vector' vs 'Vector''" I`m…
Sergiy Kostenko
  • 273
  • 1
  • 2
  • 11
0
votes
2 answers

Is there are a way to read images into a prediction engine without saving to file first?

All the of the Microsoft tutorials on ML.NET involve reading images from a file and referencing them only using their file location. I'm trying to implement a prediction engine into piece of code which is taking photos as it is being run. Currently…
0
votes
3 answers

"Unable to split the file provided into multiple, consistent columns" after beginning training using ML.NET

I am using ML.NET for machine learning. Originally, I used a CSV file and got this error. However I get the same issue when I connect to a database table I set up with the same data. The data is text of varying length and content, I want to…
Joe
  • 9
  • 6
0
votes
1 answer

PermutationFeatureImportance returns more features than model provides

I have a model, with 35 features. After transforming the string values into vectors, I end up with a transformed model with 54 features. After training I want to evaluate the feature weight, however I end up with much more features (104, so twice)…
Micha Schopman
  • 221
  • 2
  • 14