Neural React Component

by pieroit feat. Mr Pollo Watzlawick

React basics

  • javascript library
  • to build interactive UI
  • data driven
  • open source
  • by Facebook Inc.

React trends

  • functional paradigm
     
  • stateless components
     
  • redux!
     
  • it works !!!
    • separation++
    • reusability++

but what if ...

  • we go in the opposite direction. Because, why not.
     
  • let's imagine a component:
    • more than stateful
      (keeps state and a model of the world)
    • able to learn through user interaction

30 seconds crash course on data science

server-side

client-side

In a nutshell

smooth...

In a nutshell #2

Neural component

Input component (form)

Prediction component

Triggers event for output correction

Shows output for current input

New learning data!

Easy but limited

Powerful but verbose

Neural React Component

by pieroit feat. Mr Pollo Watzlawick

DEMO!
( and code)

PROS

  • smart UI with an interesting, novel UX
     
  • serverless
     
  • blank initial state
     
  • good use case: form autocomplete
     
  • room for wild
    experimentation (RL)

CONS

  • no validation, high risk of overfitting
     
  • computationally intensive
     
  • blank initial state
     
  • other use cases?

Thanks!
You are welcome

to ask questions :)

 

(... and come to my ML course)

Enter the Neural React Component

By Piero Savastano

Enter the Neural React Component

  • 697