Giter VIP home page Giter VIP logo

rec_system's Introduction

#推荐系统 此 Repository 主要是自己在学习推荐系统的过程中,为了加深对算法的理解自己动手手写算法,其中包括了很多经典的模型及其改进形式。

1 基于内容的推荐(content_rec)

本章主要实现基于内容的推荐系统所需要的基本算法。

这些算法可以根据用户行为提取结构化数据,然后选择标签

1.1 结构化数据

  1. 关键字提取——TF-IDF(√)和TextRank(√)
  2. 内容分类——FastText(√)
  3. 实体识别——BiLSTM-CRF
  4. 单词嵌入——Word2Vec(√)

1.2选择标签

从结构化数据中提取的过滤器标签

  1. 卡方
  2. 信息熵

2基于邻居的推荐(neighbor_rec)

本章主要实现了基于协同过滤的推荐系统的基本算法。

协同过滤包括基于内存的 CF 和基于模型的 CF 。

这里主要介绍了基于内存的 CF。

  1. 基于用户的协同过滤——Usercf(√)
  2. 基于项目的协同过滤——Itemcf(√)

3 矩阵分解(matrix_rec)

本章主要实现了基于矩阵分解的推荐系统的基本算法。

最常见的矩阵分解是 RSVD。

许多公司也使用ALS和BPR来优化矩阵分解。

  1. 正则奇异值分解——RSVD(√)
  2. 贝叶斯个性化排名——BPR(√)

4 模型融合(integration_rec)

本章主要实现了基于模型集成的推荐系统的基本算法。

典型的模型方案为 GBDT+LR。

  1. 梯度 Boost 决策树与Logistic回归——GDBT+LR(√)
  2. 因子分解机——FM
  3. Wide & Deep

5 多臂赌博机(mab_rec)

rec_system's People

Contributors

cz95 avatar

Watchers

James Cloos avatar

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.