Sergey Lyutko
Sergey Lyutko

Reputation: 13

Is there a way to train neural network in C#, UWP?

As I understand, Windows ML can be used in UWP to evaluate pre-trained neural network models, that are downloaded in ONNX format.

My task is to train neural network from scratch with user's data (images) in UWP application, and then use it (in the same app).

I suppose this is not possible, but maybe it is? If yes - I would be glad to get a url/sample or something. If not, are there any good nuget packages to do this in UWP (C#)?

I'm going to use some sort of simple neural network with several layers.

Would appreciate your thoughts and help..

Upvotes: 1

Views: 409

Answers (2)

ClaudiuC_MSFT
ClaudiuC_MSFT

Reputation: 156

There is also this TechNet https://social.technet.microsoft.com/wiki/contents/articles/36428.basis-of-neural-networks-in-c.aspx#Train_Function article that has some implementations on training.

Upvotes: 0

Xie Steven
Xie Steven

Reputation: 8611

Is there a way to train neural network in C#, UWP?

The answer is Yes. But please note:

Windows ML is a preview feature which may be substantially modified before it’s officially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

My task is to train neural network from scratch with user's data (images) in UWP application, and then use it (in the same app).

Windows ML supports the v1.0 release of the ONNX format, see ONNX Models on GitHub.

To learn how to train an ONNX model with Visual Studio Tools for AI, see Train a model.

You also could get the Windows Machine Learning UWP sample from github.

Upvotes: 1

Related Questions