GithubHelp home page GithubHelp logo

binary-and-multi-class-classification's Introduction

Binary-and-multi-class-classification

๐—ข๐˜ƒ๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„

Web scrapping of a web page consisting of new articles snippets of various different categories was done to extract snippet, title and category. Only three categories were selected books, film and music. This data was stored in a text file and further processing was done.

๐—ง๐—ฎ๐˜€๐—ธ ๐—ฐ๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜๐—ฒ๐—ฑ

โ€ข Text mining

Beautiful soup 4 was used to parse through all the pages of the given website and it was stored in a text file on the local system.

โ€ข Text pre-processing

Stop words such as '๐˜ต๐˜ฉ๐˜ฆ,๐˜ข๐˜ฏ, ๐˜ข๐˜ฏ๐˜ฅ,๐˜ข,๐˜ฐ๐˜ง,๐˜ง๐˜ฐ๐˜ณ' were removed, words which had frequency of less than 5 in the corpus were removed. Along with this lemmatization was used to understand the common root words.

โ€ข Binary classification

At a time only two categories were given to a linear model. This model was trained with randomly split training data set and then tested with the test data. The check the results accuracy and confusion matrix were displayed. For SDGC classifier 90% accuracy was obtained.

โ€ข Multi-class classification

For multi-class all the three categories were given to the model and similar process as above was followed. An accuracy of 88% was obtained when SDGC classifier was used whereas logistic regression model only gave an accuracy of 86%

binary-and-multi-class-classification's People

Contributors

gavin-furtado avatar

Watchers

 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.