• Stars
    star
    122
  • Rank 292,031 (Top 6 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created about 8 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

一个简单的网络小说推荐系统。

novelRS

一个简单的网络小说推荐系统。

开发环境

python3.6 + mongodb

代码说明

运行小说爬虫

下载小说列表:

cd crawler & python3 info_crawler.py

下载小说的txt文件:

cd crawler & python3 txt_downloader.py

小说过滤(只考虑大于500KB的小说):

cd crawler & python3 download_check.py

运行推荐算法

通过ipython notebook打开RS.ipynb

cd RS & ipython3 notebook

然后逐步完成notebook中的以下步骤:

  • 1、分词
  • 2、词表分析
  • 3、TF-IDF构建
  • 4、KD-Tree最近邻查询
  • 5、相似度更新

运行网页Demo

导入数据

数据下载链接:https://pan.baidu.com/s/1PFjFBtaKaBeS90CL5-hIKA 密码:f16j

mongoimport -d novelRS -c novels --file=novels.json

前端说明

基于vue1.0编写,可以不用care。

cd web_demo
npm install    # 安装依赖库
npm run dev    # 调试模式
npm run build  # 导出dist

运行后台

cd web_demo & python3 main.py

测试效果

运行后,打开http://localhost:38438

LICENSE

MIT

More Repositories

1

captcha-break

captcha break based on opencv2, tesseract-ocr and some machine learning algorithm.
C++
715
star
2

IoT-Firstep

一个物联网(IoT)开发的入门教程。涉及单片机、上位机、移动应用、服务器后台开发的知识。以及蓝牙4.0、以太网模块的使用实例。
Java
692
star
3

THSTrader

量化交易工具。同花顺手机版模拟炒股python API,基于uiautomator2和图色方法实现。【可自行扩展到实盘】
Python
566
star
4

taobao_bra_crawler

a taobao web crawler just for fun.
Python
196
star
5

PyAndroidControl

Your Remote ADB controller. Control your Android device via python scripts.
Kotlin
80
star
6

visit_analytics

自用的网站访问量统计工具
Go
80
star
7

MMFinder

An image search application demo.
Python
78
star
8

online_office_viewer

preview doc/ppt/xls online via unoconv.
PHP
70
star
9

KB-PM

a CLI tool (like supervisor and pm2) keep a group of programs running continuously.
C
60
star
10

go-phantomjs-fetcher

pyspider phantomjs fetcher clone in golang.
Go
48
star
11

AI_beatmap_generator

尝试使用神经网络生成音乐游戏Malody的谱面。
Jupyter Notebook
43
star
12

USTBCrawlers

那些年,我爬过的北科。一个由浅入深的定向爬虫教程。
Python
41
star
13

live2d-chatbot-demo

A live2D chatbot Demo build with python and js.
Jupyter Notebook
31
star
14

tieba_autosign

百度贴吧自动签到脚本
Python
25
star
15

sync-go

sync files between multiple remote servers using sftp.
Go
20
star
16

lianjia_crawler

学习scrapy,爬取链家网北京二手房信息并进行数据可视化。
Python
19
star
17

ustb_choose_course_system

【OUTDATED】北京科技大学选课系统第三方Windows、Linux、Mac、Android、iOS客户端
Swift
19
star
18

go-zk-fifo

a distributed fifo queue based on zookeeper.
Go
17
star
19

ml-study-stuff

some machine learning(deep learning) study stuff and examples.
Jupyter Notebook
15
star
20

go-zk-lock

a distributed locker based on zookeeper and implemented in golang.
Go
14
star
21

ElectronicDIY

做过的一些电子(物联网)DIY
C
11
star
22

Tem

a tiny php MVC framework implemented by c extension.
C
10
star
23

go-webcrawler

a simple, concurrent , distributed, go-implemented web crawler framework.
Go
8
star
24

RM2Malody

节奏大师谱面转Malody谱面的slide模式。
Python
8
star
25

malody_beatmap_speed_changer

Malody Beatmap Speed Changer, also support .osu and .imd files.
Python
7
star
26

nladuo.github.io

my github pages.
HTML
7
star
27

go-proxypool

自用的代理ip池,作为一个基础框架。
Go
5
star
28

stock_selection

A股选股策略
Jupyter Notebook
4
star
29

yys_assist

【DEAD】基于Android ADB的一个阴阳师挂机魂10的脚本(打手模式)。
Python
3
star
30

android-push

android push server cluster and client based on https://github.com/Terry-Mao/goim.
Java
3
star
31

code_extras

一些杂七杂八的代码和脚本。
Shell
2
star
32

serialport-cc2541-xcx

蓝牙4.0 CC2541 串口调试小程序。
JavaScript
2
star
33

owncloud-videos

An ownCloud videos app. (owncloud 9.X)
PHP
2
star
34

bing_search_crawler

Bing search crawler for academic use.
Go
2
star
35

go-splash

a simple wrapper for Splash HTTP API.
Go
1
star
36

UCAS_Toolkit

an android school app for UCAS.
Java
1
star
37

CookiesPoolBuildingTool

一个cookie池构建助手。
JavaScript
1
star
38

python-AI-practice

AI practice in python.
1
star
39

MalodyBSC-android

Android版Malody谱面调速器。
Python
1
star
40

RL2048

play 2048 game by reinforcement learning.
Python
1
star
41

beat_track_douyin

基于背景音频节拍点实现视频抖音特效。
Python
1
star
42

sae-mvc

a tiny php mvc framework for deployment on SAE.
PHP
1
star