SciSharp / SiaNet

An easy to use C# deep learning library with CUDA/OpenCL support
https://scisharp.github.io/SiaNet
MIT License
380 stars 83 forks source link

OneHotEncode Example #28

Closed sharpwood closed 6 years ago

sharpwood commented 6 years ago

I found OneHotEncode method, can you give an example of using OneHotEncode?

bmigette commented 6 years ago

https://github.com/deepakkumar1984/SiaNet/blob/fed13e54b1a7a9ce928926236562dfde71d728e6/SieNet.Examples/XORExample.cs maybe ?

deepakkumar1984 commented 6 years ago

Yes, the method is a simple call which will convert the labels to numbers 1, 2, 3..,. etc.

On Fri, Jan 12, 2018 at 10:45 PM, bmigette notifications@github.com wrote:

https://github.com/deepakkumar1984/SiaNet/blob/ fed13e54b1a7a9ce928926236562dfde71d728e6/SieNet.Examples/XORExample.cs maybe ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/deepakkumar1984/SiaNet/issues/28#issuecomment-357223784, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCQKYFq87Q_h66VKzNIUUBan0hDXDENks5tJ0zcgaJpZM4Rb6ym .

-- Regards, Deepak