Skip to content

X3vvv/headline-recommender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

headline-recommender

Predict the headlines of news of interest to users based on the headlines of the news users read

How to Use

  • 准备joblib格式保存的 模型 和 feature_names 的文件(已提供单独文件),将文件路径传入HeadlineRecommender实例
  • 准备新闻标题数据集(已提供在ipynb末尾)
  • 传入一个标题字符串,和一个被预测的标题组成的列表,使用predict方法开始预测
  • 返回:一个按照和当前标题相关度排序的标题列表

About

Predict the headlines of news of interest to users based on the headlines of the news users read

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors