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

How can I handle mismatch between schema and model after transformation?

Exploring ML.Net and I want to predict employee turnover. I have a dataset available, with a mix between numeric and string values. This is all just purely exploration in my attempt in getting to know ML.net. So my approach was to, simply step by…
Micha Schopman
  • 221
  • 2
  • 14
0
votes
1 answer

How to add calculated column into IDataView, and then included as a feature

I have some data in a csv file: Survived Pclass Sex Age 0 3 male 22 1 1 female 38 1 3 male 26 1 1 female 35 ... I loaded the data using: context.Data.LoadFromTextFile(path:…
bhrnjica
  • 15
  • 3
0
votes
1 answer

How can I access the .zip file ML.NET creates, when I'm publishing to Google Cloud?

I am building a Car Management Web API, and in order to get an average price for a car I have built a model using ML.NET and, as expected, it has created a .zip file where the training data is. Now everything works as expected locally. The problem…
0
votes
1 answer

Why ML.NET Matrix Factorization uses a regression evaluation?

The example of ML.NET for Matrix Factorization here has no evaluation method for testing the model. It's an one-class matrix factorization example, because its trainer option is set to options.LossFunction =…
hina10531
  • 3,938
  • 4
  • 40
  • 59
0
votes
0 answers

Machine Learning for extracting text from bunch of files

I have a case where I have lots of specification files and I need to extract a specific kind of information from them (a block of text). It couldn't be done through RegExp solution because the files are quite irregular (could be done but with great…
0
votes
1 answer

Binary Classification Model Inaccurate

I'm doing Binary Classification in the form of a XOR gate using ML.NET and SdcaLogisticRegression. The problem I have is that the model outputs inaccurate predictions for the inputs I give it. For example it predicts a value of 0 with probability…
Nikola Petrovic
  • 101
  • 2
  • 9
0
votes
0 answers

Trouble instaling ML.NET Model Builder package

I´m trying to install ML.NET 1.0 package into Visual Studio 2017, so I can practice the ML.NET Model Builder, Then I get the flollowing message: This is my Visual Studio installation So I wolud like to know I someone have the same problem, and…
0
votes
1 answer

Is it possible to dynamically add the Tsrc and Tdest in CreatePredictionEngine<>?

I am currently trying to dynamically change the Tsrc and Tdest in MlContext.Model.CreatePredictionEngine<>(ITransformer); in ML.net. So instead of having a class for data structure (Tsrc) and a class for the prediction (Tdesc) in the code, could I…
0
votes
1 answer

How can I use a projection instead of raw columns

I have a dataset with columns for number of items (an integer value) weight of the items (a fractional value) A product category A start time An end time and from this dataset I want to train a data model that given a number of items, weight and…
Martijn
  • 11,964
  • 12
  • 50
  • 96
0
votes
2 answers

R2 Score and RMS Loss in ML.NET - Is there something wrong with the way I trained the model or is it on the data that I have?

I am fairly new in ML.NET. Right now, I just simply copy and then paste the code from here ML.NET Tutorial Taxi Fare. But, instead of using the given CSV files, I am using the BMW.DE historical stock prices from 1996 to date. I got it from here…
0
votes
0 answers

ml.net 0.11 trying to predict array/ sequence of numbers - Schema mismatch for label column '': expected R4, got Vector Parameter name: labelCol'

Im trying to return a prediction / label of an array of numbers but get a Schema mismatch for label column '': expected R4, got Vector Parameter name: labelCol' error. Any ideas what im doing wrong. Im using ml.net 0.11 in visual studio 2017. Im…
Trevor
  • 21
  • 4
0
votes
2 answers

How to prepare data with time values for clustering?

I am trying to apply KMeans clustering to a data set with Timestamp values. The data set has other columns like Id (int), Side (boolean), Quarter (int), Half (int). But I only want to perform clustering using the timestamp column. How can I create a…
Sagar Limaye
  • 49
  • 1
  • 12
0
votes
1 answer

Can't get proper transformer for PFI

I'm trying to follow the example for PFI. The last transform of my pipeline is a ColumnCopyingTransformer, so pipeline.Fit(trainingDataView).LastTransformer is that type. However, MLContext.MulticlassClassification.PermutationFeatureImportance…
Eric J.
  • 147,927
  • 63
  • 340
  • 553
0
votes
1 answer

How do you load a saved model in ML.NET?

I'm using ML.NET v0.11.0 to create and save a model. The save process seems to work, but I am having difficulty determining how to load that model back in for use. MLContext mlContext = new MLContext(); IDataView trainingDataView =…
Chris
  • 187
  • 1
  • 1
  • 15
0
votes
1 answer

Is ML.NET supported on ARM64?

Is ML.NET support on ARM64 yet? If so, can someone provide a link or perhaps some steps to test this on ARM64, please? thank you!