AI & JavaScript

Adventures in

  • CIO of Infinite Red

  • React Native Core Contributor

  • GDE in WEB and ML

Gant Laborde

Your Friend

@GANTLABORDE

@GANTLABORDE

AKA

AKA

@GantLaborde

@GANTLABORDE

@GANTLABORDE

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

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

@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

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

TF Lite

Brain JS

CoreML

In the Browser?
 

MACHINE LEARNING

@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!?

GET ACTIVE
 

MACHINE LEARNING

@GANTLABORDE

Think in ML

@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

YOU

Review
 

MACHINE LEARNING

@GANTLABORDE

"Reimagining everything inspires science."

https://inspirobot.me/

Review
 

MACHINE LEARNING

@GANTLABORDE

Review
 

ACADEMY.INFINITE.RED

@GANTLABORDE

Review
 

MACHINE LEARNING

@GANTLABORDE

#FML

Review
 

MACHINE LEARNING

@GANTLABORDE

@GANTLABORDE

INFINITE RED

THANKS

@GANTLABORDE

Thanks!!!

Machine Learning Intro!

Keep in touch:

https://infinite.red/

http://gantlaborde.com/

@GantLaborde Twitter