harujoh / KelpNet

Pure C# machine learning framework
Apache License 2.0
242 stars 28 forks source link

Linear.Grad is always NULL #25

Closed mattcolefla closed 6 years ago

mattcolefla commented 6 years ago

Linear functions have NULL Grad when testing. Looks like the creation of the gradient object is commented out in all the Linear initialization functions.

harujoh commented 6 years ago

I am sorry for the difficulty in understanding how to use KelpNet. I think that this link will help you to understand. https://github.com/harujoh/KelpNet/tree/master/KelpNetTester/Tests

KelpNetの使い方がわかりづらくて申し訳ありません。 これを見ていただくと理解の助けになると思います https://github.com/harujoh/KelpNet/tree/master/KelpNetTester/Tests

mattcolefla commented 6 years ago

Sorry, but the serialization error is coming from the tests. It’s the code that I downloaded from your repository.

Kind Regards,

Matt R. Cole

http://www.evolvedaisolutions.com/ www.evolvedaisolutions.com

https://www.linkedin.com/in/evolvedai/ https://www.linkedin.com/in/evolvedai/

https://github.com/mattcolefla https://github.com/mattcolefla

https://twitter.com/mrc_ai https://twitter.com/mrc_ai

From: 春条 [mailto:notifications@github.com] Sent: Thursday, December 21, 2017 7:43 AM To: harujoh/KelpNet KelpNet@noreply.github.com Cc: Matt R Cole mattcolefla@gmail.com; Author author@noreply.github.com Subject: Re: [harujoh/KelpNet] Linear.Grad is always NULL (#25)

I am sorry for the difficulty in understanding how to use KelpNet. I think that this link will help you to understand. https://github.com/harujoh/KelpNet/tree/master/KelpNetTester/Tests

KelpNetの使い方がわかりづらくて申し訳ありません。 これを見ていただくと理解の助けになると思います https://github.com/harujoh/KelpNet/tree/master/KelpNetTester/Tests

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harujoh/KelpNet/issues/25#issuecomment-353341466 , or mute the thread https://github.com/notifications/unsubscribe-auth/AT0PZI3Hen_bSf_HJCcSRe_xuOYbQysGks5tClI7gaJpZM4RITop . https://github.com/notifications/beacon/AT0PZKv-_9rPxBhJET68Z8kT7y-IKtLQks5tClI7gaJpZM4RITop.gif

harujoh commented 6 years ago

What number is the problem that is causing the problem? Looking at the image you reported, it seems that StopWatch is included as a member among the classes you are trying to serialize.

問題が起こっているのは何番のテストですか? ご報告いただいた画像を見ると、シリアライズしようとしているクラスの中にStopWatchがメンバーとして混入しているように見えます。

mattcolefla commented 6 years ago

Test 1

Kind Regards,

Matt R. Cole

http://www.evolvedaisolutions.com/ www.evolvedaisolutions.com

https://www.linkedin.com/in/evolvedai/ https://www.linkedin.com/in/evolvedai/

https://github.com/mattcolefla https://github.com/mattcolefla

https://twitter.com/mrc_ai https://twitter.com/mrc_ai

From: 春条 [mailto:notifications@github.com] Sent: Thursday, December 21, 2017 8:48 AM To: harujoh/KelpNet KelpNet@noreply.github.com Cc: Matt R Cole mattcolefla@gmail.com; Author author@noreply.github.com Subject: Re: [harujoh/KelpNet] Linear.Grad is always NULL (#25)

What number is the problem that is causing the problem? Looking at the image you reported, it seems that StopWatch is included as a member among the classes you are trying to serialize.

問題が起こっているのは何番のテストですか? ご報告いただいた画像を見ると、シリアライズしようとしているクラスの中にStopWatchがメンバーとして混入しているように見えます。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harujoh/KelpNet/issues/25#issuecomment-353354780 , or mute the thread https://github.com/notifications/unsubscribe-auth/AT0PZCrTVHLjMyK-nGBaeCvQyu2hFeHvks5tCmGTgaJpZM4RITop . https://github.com/notifications/beacon/AT0PZPZLkwEzIDm2nQBTckkdddJqzFJxks5tCmGTgaJpZM4RITop.gif

harujoh commented 6 years ago

StopWatch is not used for test1. Moreover, it operates without a problem in my PC.

Please check the modified part.