You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
611 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

运行步骤
需要先安装Python的相关依赖pillowpymysqlDjagojieba, sklearn ,matplotlib,pandas,bs4
第一步创建数据库数据库名news_recommend
第二步执行SQL语句打开news_recommend.sql文件运行该文件中的SQL语句
第三步源码文件为news_recommend.zip修改源代码中的settings.py文件改成自己的mysql数据库用户名和密码
第四步运行命令python manage.py runserver 8091
第五步打开浏览器查看http://127.0.0.1:8091/login
深度学习算法推荐算法在news/recommend.py文件中