Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Machine Learning with Node.js and PredictionIO

Machine Learning with Node.js and PredictionIO

My talk from Vienna.js on 30 April 2014. The code from the example is on Github: https://github.com/florianeckerstorfer/viennajs-predictionio

Florian Eckerstorfer

April 30, 2014
Tweet

More Decks by Florian Eckerstorfer

Other Decks in Programming

Transcript

  1. Machine learning, a branch of artificial intelligence, concerns the construction

    and study of systems that can learn from data. wikipedia.org/wiki/Machine_learning
  2. Name Creator Network Episode Length Genre The Sopranos David Chase

    HBO 60 Drama Weeds Jenji Kohan Showtime 30 Comedy Girls Lena Dunham HBO 30 Comedy Orange Is The New Black Jenji Koahn Netflix 30 ?
  3. S S S S S S S S S S

    S S S S S S S S 1. Training
  4. kNN

  5. PredictionIO Server Admin Web UI Admin Server Engine A Engine

    B Algorithm X Algorithm Y Algorithm S Algorithm T Workflow Scheduler MapReduce Engine Hadoop Distributed File System Predictive Model Storage Databases REST API Servers SDK SDK Web App Mobile App Ω Ω
  6. var p = require(‘predictionio-client') p.config.APP_KEY = ‘…’; p.config.APP_URL = ‘http://localhost:8000';

    p.user.createUser(‘florian’, function() {}); p.item.createItem(‘game of thrones’, 'show', function () {}); p.action.like(‘florian’, ‘game of thrones’, function() {}); p.engine.recommendedItems('itemrec', ‘florian’, 5, function (a,data) { console.log(data); });