dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
9.01k stars 1.88k forks source link

Need to find multiple columns for the same model for prediction #6680

Open Sonu2396 opened 1 year ago

Sonu2396 commented 1 year ago

I have been doing regression for using the taxi dataset and have got the solution worked fine, however only one column can be predictied as of now and i want to have multiple columns predicted by the system .there is no provision for that as of now. What should be done exactly.

torronen commented 1 year ago

One easy way would be to make one model per column you want to predict. For example, one model to predict fareAmount, another to predict tipAmount etc. You could even try to put the predicted input from first model (fareAmount) as input for the second model (tipAmount), or maybe even some random values for fareAmount and see how predicted tipAmount would change.

Sonu2396 commented 1 year ago

That would still not solve the problem as it will predict for a different value and has to be predicted together. Furhter rejoing all of these will take some time. Also LSTM's are needed in most of the cases.

michaelgsharp commented 8 months ago

This is not something that we currently support, and I don't believe we have it anytime soon in our backlog.

Does that sound accurate @luisquintanilla?

luisquintanilla commented 8 months ago

This is not something that we currently support, and I don't believe we have it anytime soon in our backlog.

Does that sound accurate @luisquintanilla?

Correct. This is not something we're considering in the near term and @torronen suggestion would be the recommended path at the moment.