Giter Site home page Giter Site logo

trellixvulnteam / news_classification_goz8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from barunsarraf/news_classification

0.0 0.0 0.0 79 MB

Helps you to classify the news of your choice into the category like sports, health, and so on. Used SVM Model to classify the news

JavaScript 0.02% C++ 0.27% Python 85.30% C 2.33% Fortran 0.04% Tcl 3.33% MATLAB 0.01% PowerShell 0.01% CSS 0.02% TeX 0.10% Makefile 0.01% HTML 0.03% DTrace 0.01% Batchfile 0.01% Jupyter Notebook 7.94% Cython 0.61% Xonsh 0.01%

news_classification_goz8's Introduction

News Classification

This is model classify the article into classes and for this we have used Support vector Machine (SVM) which is a new technique suitable for binary classification tasks

Model is trained under the data set and acuuracy calculated is 87%.SVM is strong because of its simple structure and it requires less number of features. We have classifier_notebook.ipynb as notebook which can be opened in jupyter notebook and after installing modules.It is easy to train the model and svm_new.pkl file is created which is our model and thus it can be used for further predicting the classes.

For model training you can see and run individually code in jupyter notebook

Steps for running website:

Step 1: To run website you need to install all the python modules as flask, pickle, sklearn too.
Step 2: open cmd and locate app folder to your directory and run python app.py
Step 3: open browser and type obtained address from the cmd


Flow Diagram:

image_classification


Website View

view

news_classification_goz8's People

Contributors

barunsarraf avatar trellixvulnteam 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.