Skip to content

jayhack/SpotOn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

--------------------------------------------------------------------------------

Activity Recommender for SpotOn

-------------------------------

Jay Hack, Ankit Kumar and Sam Beder

Winter 2014

--------------------------------------------------------------------------------

============================ I. Installation/Dependencies

• This entire project was developed in ipython; we recommend you run it in ipython as well • It relies on the following packages: - pandas - numpy/scipy - sklearn - gensim • All of these can be installed via pip in a virtual environment. that is probably your best bet.

============= I. Data Specs

• All data is located in ./data, including both the original (raw, as received) json files and our curated 'pandas' dataframes • Relevant information should be contained in json_obj['hits']['hits']['_source'], which will be a list of dicts representing calendar events, etc.

A. Calendar:

• original: es-calendar.json, curated pandas dataframe in calendar.df

B. Recommended Activities:

• original: es-activity.json, curated pandas dataframe in activity.df •

============== II. Preprocess

• To initialize:

> from Preprocess import Preprocess
> pre = Preprocess ()

• To correctly format an object containing calendar events: [ce_obj is either a pandas dataframe or raw json from their database]

> ce_df = pre.preprocess_ce (ce_obj)

• To correctly format an object containing activities [a_obj is either a pandas dataframe or a raw json from their database]

> a_df = pre.preprocess_a (a_obj)

About

SpotOn calendar event recommendation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages