Skip to content

RipulHandoo/Mobile-price-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Price Classification

This repository contains code and datasets for classifying mobile prices based on their specifications. The dataset used in this project is sourced from the Kaggle website and contains information on various mobile specifications such as battery power, camera quality, etc.

Code

The code is written in R programming language and uses various libraries such as tidyverse, caret, nnet, caTools, etc. The following algorithms have been implemented for classification:

Logistic Regression

SVM Random Forest Decision Tree Apart from these, some additional algorithms have also been implemented, such as correlation-based feature selection and varimp (variable importance) algorithm.

Datasets

The train.csv dataset has been used for training the algorithms and the test.csv dataset has been used for testing the performance of the algorithms.

Data Visualization

Various graphs and plots have been created to visualize the relationships between the different features in the dataset. These include scatter plots, box plots, histograms, etc.

Results

The results of each algorithm have been saved in the results/ directory. Each algorithm has a separate file with the suffix _results.txt and contains information on the accuracy, confusion matrix, and ROC curve of the algorithm.

The data visualization plots have been saved in the results/data_visualization_plots/ directory.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages