news-classification-master-django

所属分类:聚类算法
开发工具:Python
文件大小:26039KB
下载次数:0
上传日期:2020-01-24 06:43:44
上 传 者sh-1993
说明:  基于支持向量机和朴素贝叶斯的标题新闻分类
(News classification based on Title using Support Vector Machine and Naive Bayes)

文件列表:
django-master (0, 2020-01-24)
django-master\.idea (0, 2020-01-24)
django-master\.idea\Test.iml (453, 2020-01-24)
django-master\.idea\misc.xml (185, 2020-01-24)
django-master\.idea\modules.xml (260, 2020-01-24)
django-master\.idea\workspace.xml (18289, 2020-01-24)
django-master\Test (0, 2020-01-24)
django-master\Test\.idea (0, 2020-01-24)
django-master\Test\.idea\Test.iml (453, 2020-01-24)
django-master\Test\.idea\misc.xml (185, 2020-01-24)
django-master\Test\.idea\modules.xml (260, 2020-01-24)
django-master\Test\.idea\workspace.xml (16650, 2020-01-24)
django-master\Test\__init__.py (0, 2020-01-24)
django-master\Test\__pycache__ (0, 2020-01-24)
django-master\Test\__pycache__\__init__.cpython-36.pyc (107, 2020-01-24)
django-master\Test\__pycache__\settings.cpython-36.pyc (1938, 2020-01-24)
django-master\Test\__pycache__\urls.cpython-36.pyc (386, 2020-01-24)
django-master\Test\__pycache__\wsgi.cpython-36.pyc (504, 2020-01-24)
django-master\Test\apps (0, 2020-01-24)
django-master\Test\apps\__init__.py (0, 2020-01-24)
django-master\Test\apps\admin.py (63, 2020-01-24)
django-master\Test\apps\apps.py (154, 2020-01-24)
django-master\Test\apps\classification (0, 2020-01-24)
django-master\Test\apps\classification\count_vector.pkl (1598372, 2020-01-24)
django-master\Test\apps\classification\data (0, 2020-01-24)
django-master\Test\apps\classification\data\business (0, 2020-01-24)
django-master\Test\apps\classification\data\business\0.txt (360, 2020-01-24)
django-master\Test\apps\classification\data\business\1.txt (269, 2020-01-24)
django-master\Test\apps\classification\data\business\10.txt (303, 2020-01-24)
django-master\Test\apps\classification\data\business\100.txt (268, 2020-01-24)
django-master\Test\apps\classification\data\business\101.txt (385, 2020-01-24)
django-master\Test\apps\classification\data\business\102.txt (343, 2020-01-24)
django-master\Test\apps\classification\data\business\103.txt (362, 2020-01-24)
django-master\Test\apps\classification\data\business\104.txt (318, 2020-01-24)
django-master\Test\apps\classification\data\business\105.txt (219, 2020-01-24)
django-master\Test\apps\classification\data\business\106.txt (292, 2020-01-24)
django-master\Test\apps\classification\data\business\107.txt (348, 2020-01-24)
django-master\Test\apps\classification\data\business\108.txt (366, 2020-01-24)
... ...

Coded with by Razuvitto

# News Classification #### :newspaper: :newspaper: This is a project that I was working on when I was taking Natural Language Processing using Python language and Django Framework ##### :pushpin: ### Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. ##### :pushpin: ### Prerequisites What things you need to install the software and how to install them * Python 3.6.5 :: Anaconda, Inc. ``` python --version ``` * Anaconda Command line client (version 1.6.14) ``` anaconda --version ``` * Django (version 2.1.3) ``` python -m django --version ``` * pip (version pip 19.0.3) ``` pip --version ``` Python Library * pandas == 0.23.0 * numpy == 1.16.1 * pickle * nltk to install python package, use this command ``` pip install package_name ``` ##### :pushpin: ### Installing A step by step series of examples that tell you how to get a development env running * Get a copy of project to your directory * Open command prompt from that directory * to run the project, use this command ``` python manage.py runserver ``` * open browser with port http://localhost:8000/ :globe_with_meridians: ##### :pushpin: ### Demo * First of all, you will see the greeting button with title "Check it Out", click that button * On the input text, input the news title that you want to classify, then press button "Check" * After that, you will see the comparison between Support Vector Machine and Naive Bayes ##### :pushpin: ### Built With * [Django](https://www.djangoproject.com/) - The web framework used * [Pip](https://pypi.org/project/pip/) - Package Manager See also another project in [this](https://github.com/razuvitto) url.

近期下载者

相关文件


收藏者