{"id":1490,"date":"2018-06-15T07:18:08","date_gmt":"2018-06-15T07:18:08","guid":{"rendered":"https:\/\/azoora.com\/blog\/?p=1490"},"modified":"2019-03-24T07:07:44","modified_gmt":"2019-03-24T07:07:44","slug":"top-ten-examples-of-machine-learning-in-js","status":"publish","type":"post","link":"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/","title":{"rendered":"Top Ten Examples of Machine Learning in JS"},"content":{"rendered":"\n<p>Machine learning libraries are becoming faster and more accessible with each passing year, showing no signs of slowing down. While traditionally Python has been the go-to language for machine learning, nowadays neural networks can run in any language, including JavaScript!<\/p>\n\n\n\n<p>The web ecosystem has made a lot of progress in recent times and although JavaScript and Node.js are still less performant than Python and Java, they are now powerful enough to handle many machine learning problems. Web languages also have the advantage of being super accessible &#8211; all you need to run a JavaScript ML project is your web browser.<\/p>\n\n\n\n<p>Most JavaScript machine learning libraries are fairly new and still in development, but they do exist and are ready for you to try them. In this article we will look at some of these libraries, as well as a number of cool AI web app examples to get you started.<\/p>\n\n\n\n<h3>1.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/harthur-org\/brain.js\/\" target=\"_blank\">Brain<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1491\" data-permalink=\"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/attachment\/brain\/#main\" data-orig-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain.jpg\" data-orig-size=\"785,370\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"brain\" data-image-description=\"\" data-medium-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain-300x141.jpg\" data-large-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain.jpg\" loading=\"lazy\" width=\"785\" height=\"370\" src=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain.jpg\" alt=\"\" class=\"wp-image-1491\" srcset=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain.jpg 785w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain-300x141.jpg 300w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain-768x362.jpg 768w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain-720x339.jpg 720w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain-580x273.jpg 580w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/brain-320x151.jpg 320w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<p>Brain is a library that lets you easily create neural networks and then train them based on input\/output data. Since training takes up a lot of resources, it is preferred to run the library in a Node.js environment, although a CDN browser version can also be loaded directly onto a web page. There is a tiny&nbsp;<a href=\"http:\/\/brainjs.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">demo<\/a>&nbsp;on their website that can be trained to recognize color contrast.<\/p>\n\n\n\n<h3>2.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/tensorflow\/playground\" target=\"_blank\">Deep playground<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1492\" data-permalink=\"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/attachment\/deep-playground\/#main\" data-orig-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground.jpg\" data-orig-size=\"785,370\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"deep-playground\" data-image-description=\"\" data-medium-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground-300x141.jpg\" data-large-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground.jpg\" loading=\"lazy\" width=\"785\" height=\"370\" src=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground.jpg\" alt=\"\" class=\"wp-image-1492\" srcset=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground.jpg 785w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground-300x141.jpg 300w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground-768x362.jpg 768w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground-720x339.jpg 720w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground-580x273.jpg 580w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/deep-playground-320x151.jpg 320w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<p>Educational web app that lets you play around with neural networks and explore their different components. It has a nice UI that allows you to control the input data, number of neurons, which algorithm to use, and various other metrics that will be reflected on the end result. There is also a lot to learn from the app behind the scenes &#8211; the code is open-source and uses a custom&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/tensorflow\/playground\/blob\/master\/src\/nn.ts\" target=\"_blank\">machine learning library<\/a>&nbsp;that is written in TypeScript and well documented.<\/p>\n\n\n\n<h3>3.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/xviniette\/FlappyLearning\" target=\"_blank\">FlappyLearning<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1499\" data-permalink=\"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/attachment\/flappy-learning\/#main\" data-orig-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning.jpg\" data-orig-size=\"785,370\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"flappy-learning\" data-image-description=\"\" data-medium-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning-300x141.jpg\" data-large-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning.jpg\" loading=\"lazy\" width=\"785\" height=\"370\" src=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning.jpg\" alt=\"\" class=\"wp-image-1499\" srcset=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning.jpg 785w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning-300x141.jpg 300w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning-768x362.jpg 768w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning-720x339.jpg 720w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning-580x273.jpg 580w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/flappy-learning-320x151.jpg 320w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<p>FlappyLearning is a JavaScript project that in roughly 800 lines of unminified code manages to create a machine learning library and implement it in a fun demo that learns to play&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Flappy_Bird\" target=\"_blank\">Flappy Bird<\/a>&nbsp;like a virtuoso. The AI technique used in this library is called&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/www.scholarpedia.org\/article\/Neuroevolution\" target=\"_blank\">Neuroevolution<\/a>&nbsp;and applies algorithms inspired by nervous systems found in nature, dynamically learning from each iteration success or failure. The demo is super easy to run &#8211; just open&nbsp;<em>index.html<\/em>&nbsp;in the browser.<\/p>\n\n\n\n<h3>4.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/cazala\/synaptic\" target=\"_blank\">Synaptic<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1498\" data-permalink=\"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/attachment\/synaptic\/#main\" data-orig-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic.jpg\" data-orig-size=\"785,370\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"synaptic\" data-image-description=\"\" data-medium-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic-300x141.jpg\" data-large-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic.jpg\" loading=\"lazy\" width=\"785\" height=\"370\" src=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic.jpg\" alt=\"\" class=\"wp-image-1498\" srcset=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic.jpg 785w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic-300x141.jpg 300w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic-768x362.jpg 768w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic-720x339.jpg 720w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic-580x273.jpg 580w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/synaptic-320x151.jpg 320w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<p>Probably the most actively maintained project on this list, Synaptic is a Node.js and browser library that is architecture-agnostic, allowing developers to build any type of neural network they want. It has a few built-in architectures, making it possible to quickly test and compare different machine learning algorithms. It&#8217;s also features a well written introduction to neural networks, a number of practical demos, and many other great tutorials demystifying how machine learning works.<\/p>\n\n\n\n<h3>5.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/lines.chromeexperiments.com\/\" target=\"_blank\">Land Lines<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1497\" data-permalink=\"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/attachment\/land-lines\/#main\" data-orig-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines.jpg\" data-orig-size=\"785,370\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"land-lines\" data-image-description=\"\" data-medium-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines-300x141.jpg\" data-large-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines.jpg\" loading=\"lazy\" width=\"785\" height=\"370\" src=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines.jpg\" alt=\"\" class=\"wp-image-1497\" srcset=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines.jpg 785w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines-300x141.jpg 300w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines-768x362.jpg 768w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines-720x339.jpg 720w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines-580x273.jpg 580w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/land-lines-320x151.jpg 320w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<p>Land Lines is an interesting Chrome Web experiment that finds satellite images of Earth, similar to doodles made by the user. The app makes no server calls: it works entirely in the browser and thanks to clever usage of machine learning and WebGL has great performance even on mobile devices. You can check out the source code on&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/ofZach\/landlines\" target=\"_blank\">GitHub<\/a>&nbsp;or read the full case study&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/developers.google.com\/web\/showcase\/2016\/land-lines\" target=\"_blank\">here<\/a>.<\/p>\n\n\n\n<h3>6.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/karpathy\/convnetjs\" target=\"_blank\">ConvNetJS<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1496\" data-permalink=\"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/attachment\/convnetjs\/#main\" data-orig-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs.png\" data-orig-size=\"902,154\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"convnetjs\" data-image-description=\"\" data-medium-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs-300x51.png\" data-large-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs.png\" loading=\"lazy\" width=\"902\" height=\"154\" src=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs.png\" alt=\"\" class=\"wp-image-1496\" srcset=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs.png 902w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs-300x51.png 300w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs-768x131.png 768w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs-720x123.png 720w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs-580x99.png 580w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/convnetjs-320x55.png 320w\" sizes=\"(max-width: 902px) 100vw, 902px\" \/><\/figure>\n\n\n\n<p>Although it is no longer actively maintained, ConvNetJS is one of the most advanced deep learning libraries for JavaScript. Originally developed in Stanford University, ConvNetJS became quite popular on GitHub, resulting in many community driven features and tutorials. It works directly in the browser, supports multiple learning techniques, and is rather low-level, making it suitable for people with bigger experience in neural networks.<\/p>\n\n\n\n<h3>7.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/dmotz\/thing-translator\" target=\"_blank\">Thing Translator<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1495\" data-permalink=\"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/attachment\/thing-translator\/#main\" data-orig-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator.jpg\" data-orig-size=\"785,370\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"thing-translator\" data-image-description=\"\" data-medium-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator-300x141.jpg\" data-large-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator.jpg\" loading=\"lazy\" width=\"785\" height=\"370\" src=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator.jpg\" alt=\"\" class=\"wp-image-1495\" srcset=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator.jpg 785w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator-300x141.jpg 300w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator-768x362.jpg 768w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator-720x339.jpg 720w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator-580x273.jpg 580w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/thing-translator-320x151.jpg 320w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<p>Thing Translator is a web experiment that allows your phone to recognize real-life objects and name them in different languages. The app is built entirely on web technologies and utilizes two machine learning APIs by Google &#8211;&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/cloud.google.com\/vision\/\" target=\"_blank\">Cloud Vision<\/a>&nbsp;for image recognition and&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/cloud.google.com\/translate\/\" target=\"_blank\">Translate API<\/a>&nbsp;for natural language translations.<\/p>\n\n\n\n<h3>8.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/janhuenermann\/neurojs\" target=\"_blank\">Neurojs<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1502\" data-permalink=\"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/attachment\/neurojs-2\/#main\" data-orig-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1.jpg\" data-orig-size=\"785,370\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"neurojs\" data-image-description=\"\" data-medium-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1-300x141.jpg\" data-large-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1.jpg\" loading=\"lazy\" width=\"785\" height=\"370\" src=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1.jpg\" alt=\"\" class=\"wp-image-1502\" srcset=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1.jpg 785w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1-300x141.jpg 300w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1-768x362.jpg 768w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1-720x339.jpg 720w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1-580x273.jpg 580w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/neurojs-1-320x151.jpg 320w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<p>Framework for building AI systems based on reinforcement learning. Sadly the open-source project doesn&#8217;t have a proper documentation but one of the demos, a self-driving car experiment, has a great description of the different parts that make up a neural network. The library is in pure JavaScript and made using modern tools like&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/webpack.github.io\/\" target=\"_blank\">webpack<\/a>&nbsp;and&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/babeljs.io\/\" target=\"_blank\">babel<\/a>.<\/p>\n\n\n\n<h3>9.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/junku901\/machine_learning\" target=\"_blank\">Machine_learning<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"1493\" data-permalink=\"https:\/\/azoora.com\/blog\/code\/top-ten-examples-of-machine-learning-in-js\/attachment\/machine_learning\/#main\" data-orig-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning.png\" data-orig-size=\"785,370\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"machine_learning\" data-image-description=\"\" data-medium-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning-300x141.png\" data-large-file=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning.png\" loading=\"lazy\" width=\"785\" height=\"370\" src=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning.png\" alt=\"\" class=\"wp-image-1493\" srcset=\"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning.png 785w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning-300x141.png 300w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning-768x362.png 768w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning-720x339.png 720w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning-580x273.png 580w, https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/machine_learning-320x151.png 320w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<p>Another library that allows us to set up and train neural networks using only JavaScript. It is super easy to install both in Node.js and in the client side, and has a very clean API that will be comfortable for developers of all skill levels. The library provides a lot of&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/joonku.com\/project\/machine_learning\" target=\"_blank\">examples<\/a>&nbsp;that implement popular algorithms, helping you understand core machine learning principals.<\/p>\n\n\n\n<h3>10.&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/deepforge-dev\/deepforge\" target=\"_blank\">DeepForge<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/github.com\/deepforge-dev\/deepforge\" target=\"_blank\" rel=\"noreferrer noopener\"><img src=\"https:\/\/tutorialzine.com\/media\/2017\/04\/deepforge.jpg\" alt=\"deepforge.jpg\"\/><\/a><\/figure>\n\n\n\n<p>DeepForge is a user-friendly development environment for working with deep learning. It allows you to to design neural networks using \u0430 simple graphical interface, supports training models on remote machines, and has built in version control. The project runs in the browser and is based on Node.js and MongoDB, making the installation process very familiar to most web devs.<\/p>\n\n\n\n<h2>Conclusion<\/h2>\n\n\n\n<p>Although the JavaScript machine learning ecosystem is not fully developed yet, we recommend using the resources on this list to make your first steps in ML and get a feel for the core techniques. As the experiments in the article show, there are tons of fun stuff you can make using only the browser and some familiar JavaScript code.<\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Machine learning libraries are becoming faster and more accessible with each passing year, showing no signs of slowing down. While traditionally Python has been the go-to language for machine learning, nowadays neural networks can run in any language, including JavaScript! The web ecosystem has made a lot of progress in recent times and although JavaScript [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1503,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[4,12,14],"tags":[25,87],"jetpack_featured_media_url":"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2018\/11\/10-machine-learning-resources-1.png","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p7FQPL-o2","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/1490"}],"collection":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/comments?post=1490"}],"version-history":[{"count":2,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/1490\/revisions"}],"predecessor-version":[{"id":2040,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/1490\/revisions\/2040"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media\/1503"}],"wp:attachment":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media?parent=1490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/categories?post=1490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/tags?post=1490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}