Skip to content

Santosh766/Employee-s-Income-Classification-based-upon-age

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Employee's-Income-Classification-based-age

This is a project of classification of employee on the basis of their age and income. Objective of this project is to classify different groups of employee based upon the income and age group. Here, we found three groups for the given dataset (income.csv), after predicting for set ([['40','4500']]) we found it belongs to the cluster 0 such that red community. The project is followed by following steps:

  1. Importing some basic libraries for solving classification problem (KMeans Classification)
  2. Importing the csv file into pandas dataframe
  3. Ploting the data for better visualization into scatter plot
  4. Building classification object and fitting the data in the model
  5. Plotting the result in scatter plot the better visualization of different cluster found by the classification model.
  6. download
  7. For the best results, scaling the data and again fitting it into the model. After scaling, we can see the visualization and anlysise the difference from previous plot.
  8. download
  9. Using Elbow method the appropriate number of clusters are found (k=3).
  10. download
  11. In such a way, we classified the employees based upon their income and age group. In the end, the same model is used for irir flower dataset for the classification of ["petal length (cm)","petal width (cm)"]. And by elbow method we found the value of k is 3. download

About

This is a project of classification of employee on the basis of their age and salary.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors