Coder Social home page Coder Social logo

article-recom-system's Introduction

Article-Recom-System

recommendation.ipynb:

定义了所有的函数和最后的两个接口函数 func1 和 func2

func1:

为每隔一段时间运行一次,用于更新数据集的TD-IDF表,数据集预处理的字典等中间变量

func2:

实时调用,每进入一篇新文章,调用一次此函数,把最相似的N篇文章id写入 write_keys.txt中

chinese_stop_words.txt:

存放中文停用词文件

new_doc.txt:

待找相似文章的文件

news:

原始数据集

tmp:

存放中间值的文件 (func1的返回值)

write_keys.txt:

找到的相似文章id 存放在该文件下

article-recom-system's People

Contributors

cyy7645 avatar

Stargazers

 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.