@GANTLABORDE

Adventures in

Adventures in

@GANTLABORDE

Adventures in

Adventures in

AI in JavaScript

  • CIO of Infinite Red

  • React Native Core Contributor

  • GDE in WEB and ML

  • O'Reilly Author

  • @GantLaborde on Twitter

Gant Laborde

Your Friend

@GANTLABORDE

@GANTLABORDE

AKA

AKA

@GantLaborde

@GANTLABORDE

@GANTLABORDE

@GANTLABORDE

@GANTLABORDE

Some faces... well...

Machine Learning?

WHY

@GANTLABORDE

?

?

?

?

Machine Learning?

WHY

@GANTLABORDE

"Write once, train for anywhere"

Machine Learning?

WHY

@GANTLABORDE

Machine Learning?

WHY

@GANTLABORDE

What does it do?

Machine Learning

@GANTLABORDE

?

?

?

?

What does it do?

Machine Learning

@GANTLABORDE

  • Region Detection
  • Style Transfer

What does it do?

Machine Learning

@GANTLABORDE

😂

What does it do?

Machine Learning

@GANTLABORDE

What does it do?

Machine Learning

@GANTLABORDE

What does it do?

Machine Learning

@GANTLABORDE

What does it do?

Machine Learning

@GANTLABORDE

What does it do?

Machine Learning

@GANTLABORDE

How to AI More

Machine Learning

@GANTLABORDE

👍

How do you know?

Machine Learning

@GANTLABORDE

I ASKED AI!

I Read Too

Machine Learning

@GANTLABORDE

What

Machine Learning

@GANTLABORDE

Should

Should

it do?

What should it do?

Machine Learning

@GANTLABORDE

What should it do?

Machine Learning

@GANTLABORDE

What should it do?

Machine Learning

@GANTLABORDE

Applications

Machine Learning

@GANTLABORDE

Fraudulent Transactions

Recommendations

Best Price!?

Playing Games

Translate

Drive

How long is that line?

Write Music

AND MORE

What is it?

Machine Learning

@GANTLABORDE

What is it?

Machine Learning

@GANTLABORDE

Model   

===

function()

Model   

function()

What is it?

Machine Learning

@GANTLABORDE

DATA

IN

DATA

OUT

DATA

IN

DATA

OUT

What's It Like?

Machine Learning

@GANTLABORDE

What's It Like?

Machine Learning

@GANTLABORDE

@GANTLABORDE

From Where?

Machine Learning

3

3

PLACES

@GANTLABORDE

Download Existing  Models

From Where?

Machine Learning

#1

#1

@GANTLABORDE

Train a

Model

From Where?

Machine Learning

#2

#2

@GANTLABORDE

Modify an Existing

Model

From Where?

Machine Learning

#3

#3

Status
 

MACHINE LEARNING

@GANTLABORDE

Online Services
 

MACHINE LEARNING

@GANTLABORDE

Amazon

Microsoft

Google

and many more...

Growth
 

MACHINE LEARNING

@GANTLABORDE

Machine Learning & JavaScript is Awesome!

Isn't JavaScript a toy language?
 

MACHINE LEARNING

@GANTLABORDE

Nope

WebGL Means JS + GPU
 

MACHINE LEARNING

@GANTLABORDE

  • TensorFlow.js

  • BrainJS (aka Brain)

  • React Native (to Native)

JavaScript Options
Today

 

MACHINE LEARNING

@GANTLABORDE

MACHINE LEARNING APPS - REACT NATIVE

@GANTLABORDE

In the Browser?
 

MACHINE LEARNING

@GANTLABORDE

Chrome Plugin?!
 

MACHINE LEARNING

@GANTLABORDE

@GANTLABORDE

@GANTLABORDE

  • Big Companies

  • Privacy

  • Consistent

  • Free

WHY NSFW JS?
 

MACHINE LEARNING

@GANTLABORDE

JavaScript

@GANTLABORDE

JavaScript

@GANTLABORDE

😢

😿

😭

JavaScript

@GANTLABORDE

Still Biased?

Yup!

MACHINE LEARNING

@GANTLABORDE

Dealing with Bias

MACHINE LEARNING

@GANTLABORDE

JavaScript

@GANTLABORDE

NSFWJS.com

How

MACHINE LEARNING

@GANTLABORDE

How does one make a model?

MACHINE LEARNING

@GANTLABORDE

How

MACHINE LEARNING

@GANTLABORDE

You don’t need to come up with advanced algorithms anymore. You just have to teach a computer to come up with its own advanced algorithm.

How

MACHINE LEARNING

@GANTLABORDE

Example Case

How

MACHINE LEARNING

@GANTLABORDE

What's the hard part?

DATA

  • Scrape the internet for pictures of Nic Cage
  • Scrape the internet for pictures of Celebs
  • Code to remove faces of all images (​faceOff)
  • Manually check your data for errors

How

MACHINE LEARNING

@GANTLABORDE

Nic or Nickelback

How

MACHINE LEARNING

@GANTLABORDE

Feed Teacher

and let it train!

How

MACHINE LEARNING

@GANTLABORDE

5+ Hours of This

How

MACHINE LEARNING

@GANTLABORDE

How

MACHINE LEARNING

@GANTLABORDE

😢

How

MACHINE LEARNING

@GANTLABORDE

How

MACHINE LEARNING

@GANTLABORDE

Transfer Learning!

How

MACHINE LEARNING

@GANTLABORDE

🎉

How

MACHINE LEARNING

@GANTLABORDE

OMG IT WORKS!?

More Awesome
 

MACHINE LEARNING

@GANTLABORDE

Open Source Demos

MACHINE LEARNING

@GANTLABORDE

Rock Paper Scissors

MACHINE LEARNING

@GANTLABORDE

MACHINE LEARNING

@GANTLABORDE

Visual Training +

Transfer Learning

@GANTLABORDE

What does it do?

Machine Learning

"Machine Learning does things a human can do;

trained with a lot of time and a lot of examples."

GET ACTIVE
 

MACHINE LEARNING

@GANTLABORDE

Think in ML

GET ACTIVE
 

MACHINE LEARNING

@GANTLABORDE

YOU

Review
 

MACHINE LEARNING

@GANTLABORDE

"Reimagining everything inspires science."

https://inspirobot.me/

Review
 

MACHINE LEARNING

@GANTLABORDE

20% OFF

Please Do NOT Share

Review
 

ACADEMY.INFINITE.RED

@GANTLABORDE

Review
 

MACHINE LEARNING

@GANTLABORDE

#FML

Review
 

MACHINE LEARNING

@GANTLABORDE

Review
 

MACHINE LEARNING

@GANTLABORDE

@GANTLABORDE

INFINITE RED

THANKS

@GANTLABORDE

@GANTLABORDE

Thanks!!!

Machine Learning

Keep in touch:

https://infinite.red/

http://gantlaborde.com/

@GantLaborde Twitter

Adventures in TensorFlow.js

By Gant Laborde

Adventures in TensorFlow.js

Machine Learning is Beautiful, especially in the browser! Let's explore it together!

  • 3,131