Giter Site home page Giter Site logo

khalidur-sujon / mobile-price-classification Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.87 MB

Mobile price classification using SVM with hyperparameter tuning and feature selection technique. Accuracy is 95%.

Jupyter Notebook 100.00%
mobilepriceclassification priceclassification eda feature-selection hyperparameter-tuning mutual-information svm-classifier svm-model cvscoring selectkbes

mobile-price-classification's Introduction

Mobile Price Classification

From my interest in Machine learning, I take different datasets and play with them. This time I take Mobile Price dataset. The goal is to classifie the the price using different specs.

Now, let me tell you this classification journey. First of all I have imported the necessary library that I need for visualizing and analysis part. After loading the dataset I directly go to the EDA part. Since I have the found the clean dataset, I do not do any kind of feature engineering. After EDA I have splitted the whole dataset using sklearn train_test_split method. Then I have tried the SVM model. There my train accuracy was 0.96 and test accuracy was 0.86. At this time a question have arised in my mind that Can I increase this accuracy score. For this I have used Feature selection 'mutual_info_classif' technique and select 5 best features for model. After that I have done hyperperameter tuning for SVM. There I have found SVM best score which is 0.95 and also found SVM best parameters. I have also use CV scoring ( score for validation set) where the mean is 0.951. Finaly I have build my final model, train that and get score . This time my train accuracy was 0.95 and test accuracy was 0.97 which is better than before.

mobile-price-classification's People

Contributors

khalidur-sujon 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.