GithubHelp home page GithubHelp logo

kevinng77 / game_recommen_frontend Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 848 KB

实现了一些推荐系统玄学功能,如根据用户当前浏览点击记录推荐相似商品,算法粗暴。Basic but popular recommender system functionality design. such as user click feedback.

Python 53.53% Shell 0.57% HTML 23.86% CSS 22.04%

game_recommen_frontend's Introduction

Game recommender

WARNING - This is a toy project for course. The tech or tools used here might out of date!! But it is fun to use simple KNN and SVD to build a dynamic recommender system.

A simple Steam Game recommender website. The recommendation result is dynamic, based on the game user puchased and what user click on the web page.

.
├── app.py
├── config
│   └── config.py
├── data
├── model  //recommender models
├── natapp.sh  // nat tool. You might select other nat tools
├── readme.md
├── static
│   ├── index.css
│   └── list.png
├── templates
│   └── index.html
├── user_init_rate // initial recommend list gerenate from user purchase history
├── user_item_rate // dynamic recommend list generated from user click
└── utils
    └── web_utils.py

To run

python app.py --temperature 0.5 --num_lines_load 4 --num_lines_init 8
# or flask run

--temperature how much your recommender system react to the user click behavior.

--num_lines_load how much lines of games to load when you click loadmore

--num_lines_init how much lines of games to load at initial.

How like or dislike work?

If you click like for one item, the rating for other similar items will be increased, such that they are more likely to be recommended. Click detail for one item will result in slightly increase on similar item score.

Screen shot

The design style is similar to steam official, click details to view details in steam official website.

sample.jpg

user id update bar

userbat.jpg

Reference

CSDN - 右侧边栏right bar

Codepen - jQuery. Fly to cart effect.

game_recommen_frontend's People

Contributors

kevinng77 avatar

Stargazers

 avatar

Watchers

 avatar

game_recommen_frontend'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.