This is a very basic intro to machine learning and neural networks using Brain.js which is a machine learning library for JavaScript.

Code: Feel free to add examples

Article 1:

Article 2: Trump vs Kardashian

💖 Become a Patron: Show support & get perks!

Website & Udemy Courses

Follow Traversy Media:

Nguồn:https://madisonrep.org/

41 Comments

Saif Malik

February 27, 2020

I'm having problem in installing brain.js, it says "gyp ERR find VS" and "gyp ERR! find VS msvs_version not set from command line or npm config" and other errors like this
I installed Visual Studio 2019 but the problem stays, what other things do I need to do, how to set all this up

kindly help

Reply

Solomon Abrha Gebereselassie

February 27, 2020

thank you very much but brain.js is not working for me any help???

Reply

Austin Archer

February 27, 2020

This video actually shows a flaw in either the function or methodology you're using. The correct result of "1 1 0" should be 0 because it's XOR. 1 ^ 1 ^ 0 is the same as (1 ^ 1) ^ 0 or 0 ^ 0 which is 0. The program returns ~1 incorrectly. It should be in the training set because it has no reference for when to expect 0 when there's a 1 in the far left column; I guarantee it has a strong association.

Reply

River Brooks

February 27, 2020

@Traversy Media I love your vibe man, great video!!

Reply

Aeliator

February 27, 2020

Do you need to create a private environment in cmd before doing this or can you get straight into VS code and start doing all of this stuff?

Reply

_heybboying

February 27, 2020

Machine learning with typescript will be awersome there no videos on youtube related.

Reply

Space Ninja

February 27, 2020

does brain. js do transfer learning?

Reply

Ishu Mishra

February 27, 2020

how can someone be so intelligent 🙂

Reply

Franciszek Job

February 27, 2020

Thanks a lot man!

Reply

Isfhan Ahmed

February 27, 2020

it is just showing percentage how we no its for 1 or 0 ?

Reply

James Wilan Rebutica

February 27, 2020

I'm using windows, I'm new to this what do I need to install to try out this project out?

Reply

srinu alla

February 27, 2020

is this video for absolute beginner

Reply

Aaron James

February 27, 2020

I watched loads of "beginner" tutorials on neural nets with .is but this feels like the first that actually explains the .js code and what it's doing. Thanks.

Reply

Muhammad Quanit

February 27, 2020

i have trained same data as yours but it gives me software as category….id don't know why??

Reply

Nicholas Shawn Nadel

February 27, 2020

Would love to see more ml videos from you

Reply

Igor Cojocaru

February 27, 2020

Cool Brad! Now do some Skynet tutorial. Want program my own terminator !
Thanks

Reply

UI Developer

February 27, 2020

Don't be a Dick 😁😝😂

Reply

dod0180

February 27, 2020

Excellent, thanks for the heads up and great tutorial, cheers

Reply

Ananta Bastola

February 27, 2020

This is a multilayered feed forward network… I am not into machine learning but… backpropagation is the method of learning! Refreshed my memory! Awesome content as always!

Reply

Antoine Fortin

February 27, 2020

Very nice one!

Reply

Terry Chootiyaa

February 27, 2020

But this is 9 months old

Reply

Yash Gupta

February 27, 2020

Please do some videos on Tensorflow.js and more ML videos in general.

Reply

Simonnice

February 27, 2020

New Traversy video, new things to learn :D.

Reply

Paul Brooks

February 27, 2020

BrainJS is not a machine learning algorithm. It is just a directory using JSON. At no point can BrainJS 'Learn' anything as with other ML frameworks.

Reply

luis chinasky

February 27, 2020

when I run index.js, it gives me an error message : cannot find module and I'm running this from vcode as well . Do I need to run it from an IDE?

Reply

Raghu B Srinivas

February 27, 2020

Thank you Sir for this class on Machine Learning and can you please create a video for beginners to learn the Machine Learning.

Reply

nice view

February 27, 2020

thx so much – very helpful

Reply

Unique Channel

February 27, 2020

Very interesting examples… Thankyou

Reply

angella max

February 27, 2020

You said that "Python is the king of machine learning" then why are you using JS (brain.js) not python?

Reply

Hakim Billa

February 27, 2020

Very nice video. I really appreciated that you made the effort to introduce us brain.js

Reply

Agoo Clinton

February 27, 2020

Sir Is it possible for you to update us on Async Training …..

Like this if you are also waiting for async Training from the Master

Reply

Naga Krushna Y

February 27, 2020

Can you do a complete machine learning course in JavaScript only according to the existing resources available in JS?

It is helpful if you do course ML in JavaScript, there are lots of courses available in python for ML.

Reply

nerdi loo

February 27, 2020

nice!

Reply

Hasibur Rahman

February 27, 2020

Please try to make a series of this. Thanks Brad

Reply

Eugene Epifanov

February 27, 2020

Does the program have to learn everything again every time it's run? Or the learned patterns (or whatever) can be saved and accessed later?

Reply

Vedprakash upadhye

February 27, 2020

my vscode terminal is not working properly

Reply

app dev. corp

February 27, 2020

Hey ,I am on it brain.js but can you fix this problem which I am facing

Even on GitHub I have posted an issue #340

https://10pm.ca/using-a-usb-flash-drive-as-ram-in-linux-mintubuntu

Reply

dragon story

February 27, 2020

just don't be a dick…lol…i totally felt it exactly what and in what sense he meant by it…:D

Reply

Just Aquib

February 27, 2020

is it dump value ?

Reply

Krishiv Agarwal

February 27, 2020

but my npm is not working.
p.s can you tell me how to insall npm on visual studio?
thanks in advance.

Reply

Lorgar Aurelian

February 27, 2020

Thank you very much for this video, it helped me to get started with ML. Of course, this code needs to be run with webworkers in a browser, or forked in Node.

Reply

Leave a Reply