dotnet / machinelearning-samples

Samples for ML.NET, an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
4.46k stars 2.68k forks source link

Add Simple Feature Vector TensorFlow Example #962

Open Bonifatius94 opened 1 year ago

Bonifatius94 commented 1 year ago

Hello everyone,

I think I've finally figured out how to send a simple float feature vector down to a TensorFlow model, do some predictions on it and retrieve it back. It doesn't seem to be be very complex, but there's no example for such a basic use-case (like the house price estimator).

Also for data pipelines, you only outline very specific examples like training on images, text or csv spreadsheets. But it would be nice to add a more general example that loads a list of float feature vectors. That way, people can learn how to implement much more generic algorithms like reinforcement learning.

Wouldn't it be nice to provide an example like I mentioned? Let me know what you think about it.

Best wishes, Marco

luisquintanilla commented 1 year ago

Hi @Bonifatius94

Thanks for this suggestion. It sounds like you already have a solution and are familiar with the scenario. We'd welcome contributions to this repo, or if you'd like to do it in a separate repo, we'd be happy to link to it in the community samples page.