Code Monkey home page Code Monkey logo

clustering_models's Introduction

Data Science Clustering Models: project Overview


  • performed data cleaning operation
  • Outlier and missing value treatments
  • Finding no'of clusters using Silhoutte Score
  • Built model with both K-means clustering and heirarchical clustering and compared both the results

Code and Resources Used


Python Version: 3.7 Packages: Pandas, numpy, sklearn, matplotlib, seaborn, sklearn, scipy

Data Cleaning


  • Data Quality checks on columns like exports and imports
  • Rounding of the numbers to 2 decimal points for ease of analysis

EDA


  • Checking for missing values
  • Outlier identification and capping the upper quartile to 99th percentile
  • Univariate and bivariate analysis
    clustering bar grapg github
  • burundi has the low income as per primary analysis and can be a country in desire need of aid

Model Building


  • Before starting clustering the data first i have started with hopkins score to see the cluster tendensy
  • Acheived result of hopkins score: 0.96
  • Scaled data by importing StandardScalar from sklearn

Started building the model with K means clustering and to determine no'of clusters i have used Silhoutte Score silhoutte score clustering github

  • From the above elbow curve i have concluded to use k = 4 for my model

Model Performance


  • Plotted the clusters for GDPP vs Child_mortality and noted the cluters which have high mortality rate as these countries which needs immediate aid
  • clustering git hub
  • differentiated clusters based on child_mortality, income, gdpp
  • clusters subplots github
  • Cluster 3 having the list of countries which we need to focus on funding on priority.

clustering_models's People

Contributors

akhilreddy1795 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.