deeplearning with node

Download Deeplearning with node

Post on 14-Jun-2015

4.495 views

Category:

Technology

1 download

Embed Size (px)

DESCRIPTION

Slide used on Tokyo Node academy no.11

TRANSCRIPT

  • 1. NodeDeep Learning Feb 26, 2014 (Kai Sasaki)

2. (@Lewuathe) Node 2 PaaS mailPush Tessel 3. Deep Learning? 4. Deep Learning? 5. Deep Learning? 6. Deep Learning? 7. 8. Newron 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. n42 19. var input [1.0, [1.0, [1.0, [0.0, [0.0, [0.0, ]);= $M([! 1.0, 0.0, 1.0, 0.2, 0.9, 0.1, 0.0, 0.0, 0.0, 0.8, 0.0, 1.0,0.0],! 0.0],! 0.0],! 1.0],! 1.0],! 1.0]! 20. var label [1.0, [1.0, [1.0, [0.0, [0.0, [0.0, ]);= $M([! 0.0],! 0.0],! 0.0],! 1.0],! 1.0],! 1.0]! 21. // n42require! var n42 = require(n42');! !// Stacked Denoised Autoencoder! // ! // 4,2,33,2! var sda = new n42.SdA(input, label, 4, [3, 3], 2); 22. // 2,3! // ,, ! sda.pretrain(0.3, 0.01, 1000);! !// ! // , ! sda.finetune(0.3, 50); 23. // ! var data = $M([! [1.0, 1.0, 0.0, 0.0],! [0.0, 0.0, 1.0, 1.0]! ]);! !var answer = sda.predict(data) 24. [0.999999, 1.026438e-7]! ~ [1.0, 0.0]! ![4.672230e-28, 1] ~ [0.0, 1.0]! 25. var input [1.0, [1.0, [1.0, [0.0, [0.0, [0.0, ]);= $M([! 1.0, 0.0, 1.0, 0.2, 0.9, 0.1, 0.0, 0.0, 0.0, 0.8, 0.0, 1.0,0.0],! 0.0],! 0.0],! 1.0],! 1.0],! 1.0]!var label [1.0, [1.0, [1.0, [0.0, [0.0, [0.0, ]);= $M([! 0.0],! 0.0],! 0.0],! 1.0],! 1.0],! 1.0]! 26. var input [1.0, [1.0, [1.0, [0.0, [0.0, [0.0, ]);= $M([! 1.0, 0.0, 1.0, 0.2, 0.9, 0.1, 0.0, 0.0, 0.0, 0.8, 0.0, 1.0,0.0],! 0.0],! 0.0],! 1.0],! 1.0],! 1.0]!var data = $M([! [1.0, 1.0, 0.0, 0.0],! [0.0, 0.0, 1.0, 1.0]! ]);var label [1.0, [1.0, [1.0, [0.0, [0.0, [0.0, ]);= $M([! 0.0],! 0.0],! 0.0],! 1.0],! 1.0],! 1.0]!var answer = $M([! [0.99, 1.03e-7]! [4.67e-28, 1] ]); 27. 28. 29. Python 10 30. 31. NaN 32. NodeDeep Learning 33. 34. Thank you