Skip to content

Mobile-friendly web application that makes personalized recommendations of talks at the StrataHadoop conference. Built using Dato machine learning models and predictive services.

License

Notifications You must be signed in to change notification settings

turi-code/Strata-Now

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for creating and launching a web application with a content-based recommender model using Dato's GraphLab Create and Predictive Services.

This app provides personalized recommendations for conference talks based on the abstract of each talk. It was used by more than 1000 attendees of the Strata-Hadoop World Conference 2015 in San Jose.

Live demo

Here's a screenshot:

Screenshot

Frontend

Requirements

OS X

brew install node
npm install -g gulp

Ubuntu 14

curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
sudo npm install -g gulp

Installation

npm install
gulp

This should open a web browser with the app: http://localhost:3080.

Building your machine-learning-as-a-service

Requirements

pip install graphlab-create

For more details, see the quick start guide.

Running

Scrape data from strataconf.com

cd data
python scrape.py

Create models and update predictive service

cd deploy
python run.py

Now you are able to get recommendations and similar talks via a REST API:

curl -X POST -d '{"api_key": "b9b8dd75-a6d3-4903-b6a7-2dc691d060d8", \
                  "data":{"input": {"item_ids":["43750"], "how_many": 5}}}' \
                stratanow-175425062.us-west-2.elb.amazonaws.com/data/item_sim
{
 "uuid": "4373dfd0-6ed6-4074-9ee4-cc5fbb7e4789", 
 "version": 1, 
 "response": {
   "recommended": [{"data": 
     {"speakers": 
      [
       {"url": "http://strataconf.com//big-data-conference-uk-2015/public/schedule/speaker/146540", 
        "bio": "| @pacoid       O\u2019Reilly author ... nterprise use cases for big data.", 
        "info": "Director of Community Evangelism, Databricks", 
        "name": "Paco Nathan", "imgsrc": "http://cdn.oreillystatic.com/en/assets/1/eventprovider/1/_@user_146540.jpg"}, 
       {"url": "http://strataconf.com//big-data-conference-uk-2015/public/schedule/speaker/1926
         ...
       }
      ]
     }
   }
 }
}

More details

For more on how and why we made this, see the blog post.

License

This package provided under the 3-clause BSD license.

About

Mobile-friendly web application that makes personalized recommendations of talks at the StrataHadoop conference. Built using Dato machine learning models and predictive services.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published