Giter VIP home page Giter VIP logo

noahgift / recommendations Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 14.0 82 KB

UGC AI: recommendations and sentiment analysis examples using Cloud APIs and more

Home Page: https://www.amazon.com/Pragmatic-AI-Introduction-Cloud-based-Learning/dp/0134863860

Makefile 0.29% Python 8.35% Jupyter Notebook 91.36%
python surprise recommender-system ml datascience ai nlp machine-learning azure aws

recommendations's Introduction

AI on User Generated Content

This projects has explorations of handling UGC: Recommendation Engines, NLP, and more. This material is covered in Chapter 11 of Pragmatic AI

Jupyter Notebooks for UGC (User Generated Content)

Recommendations

Explorations of recommendation engines

How to use:

In [1]: follows import *
In [2]: df = follows_dataframe()
In [3]: dfr = follow_relations_df(df)
In [4]: dfr.head()
In [5]: scores = generate_similarity_scores(dfr, "00480160-0e6a-11e6-b5a1-06f8ea4c790f")
In [5]: scores
Out[5]: 
2144    0.000000
713     0.000000
714     0.000000
715     0.000000
716     0.000000
717     0.000000
712     0.000000
980     0.333333
2057    0.333333
3       1.000000
Name: follow_relations, dtype: float64
In [6]: dfs = return_similarity_scores_with_ids(dfr, scores)
In [6]: dfs
Out[6]: 
                                followerId  \
980   76cce300-0e6a-11e6-83e2-0242528e2f1b   
2057  f5ccbf50-0e69-11e6-b5a1-06f8ea4c790f   
3     00480160-0e6a-11e6-b5a1-06f8ea4c790f   
                                       follow_relations    scores  \
980   [f5ccbf50-0e69-11e6-b5a1-06f8ea4c790f, 0048016...  0.333333   
2057  [76cce300-0e6a-11e6-83e2-0242528e2f1b, 0048016...  0.333333   
3     [f5ccbf50-0e69-11e6-b5a1-06f8ea4c790f, 76cce30...         1   
      following_count  
980                 2  
2057                2  
3                   2 

Cloud NLP

Explorations of Cloud NLP APIS on Google, Azure and AWS

Kernel Density Plot of NLP Azure Call

recommendations's People

Contributors

noahgift avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

recommendations's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.