r/javascript • • Dec 23 '18

Neural networks in JavaScript – free 19-part course

https://scrimba.com/g/gneuralnetworks
454 Upvotes

21 comments sorted by

26

u/SameDifference Dec 23 '18

Hey! Anyone with experience can tell me the pros/cons vs using Tensorflow JS? I built an app using TFJS and like it, but would use this if the performance is better

11

u/SameDifference Dec 23 '18

I guess people are interested in the answer, I am super interested because I am trying to build web apps with body pose inference.

You can check out what I built here here. I'm trying to increase performance so that's why I'm curious

3

u/howMuchCheeseIs2Much Dec 24 '18

One pro for TF is that you can build models in one language (e.g. Python) and implement them in another (e.g. JS). It's pretty common to have a data science group develop a model in Python then pass it to an engineer to implement. TF makes that flow easier.

3

u/Aegior Dec 24 '18

The Tensorflow library is extremely syntactically similar to NumPy with respect to low level linear algebra operations, so I'd back it as the better thing to learn right now.

16

u/Lord_Poopsmith Dec 23 '18

Brb - creating skynet

4

u/ItsGreenArrow Dec 24 '18

Brb creating pipernet

4

u/_nobody0 Dec 23 '18

Will definitely try to go through. Thanks for sharing

4

u/whatloop Dec 23 '18

Awesome! I'd love to try and build some sort of AI chatbot so this will be a great start. Thanks for the share!

7

u/[deleted] Dec 23 '18

For chatbots in JS, check out the NodeJS SDK for Microsoft’s Bot Framework.

2

u/JoeJoeJoeJoeJoeJoe Dec 23 '18

Is this the same bot framework MS used that quickly turned into a racist asshole on Twitter?

8

u/[deleted] Dec 23 '18

No.

2

u/heyzeto Dec 24 '18

Question related,

If ai takes so much computing power, doing it in js doesn't make the browser "crash" while computing the values?

1

u/ichunddu9 Dec 26 '18

You're not training the algorithm "in the browser". You're simply using a pretrained model to make a prediction.

1

u/heyzeto Dec 26 '18

As you might have noticed I don't have experience with ai.

So I need to make my model "offline" then load it on request and calculate the results for new data, is that it?

1

u/ichunddu9 Dec 26 '18

More or less yes.

3

u/[deleted] Dec 23 '18

Thanks for sharing!

3

u/sinefine Dec 24 '18

WOW the site is the coolest learning site I've ever seen. I thought it was a video but then I realized you can actually type on it.

2

u/doko_eims Dec 23 '18

Thanks for this!

1

u/Dourdough Dec 24 '18

For anyone interested, the guys behind scrimba have developed a basically new language called Imba I believe who's rendering performance is so stupidly fast that it allows for the cool live editing features you have in this site. They put out a medium article or two about it as well.

1

u/sickcodebruh420 Dec 24 '18

Did the first four or five parts tonight, it’s really cool. Presentation is clear and I love that he mixes theory and immediate application. Looking forward to finishing the series.