Giter Club home page Giter Club logo

cluster-analysis's Introduction

Cluster Analysis

Clustering 1

This study is to practice the Unsupervised Learning section (Chapter 7) of Practical Statistics for Data Scientists book. We'll give some information about $k$-Means Clustering, Hierarchical Clustering and Model-Based Clustering using Python on Jupyter Notebook.

Clustering methods can be used to identify meaningful groups of data. For example, using the web clicks and demographic data of a user on a website, we may be able to group together different types of users 2.

$k$-Means Clustering

$k$-Means Clustering is an algorithm that groups data points into 'K' distinct clusters based on their similarity in order to discover patterns or structure in the data. In this method, the goal is to partition a dataset into 'K' clusters, where 'K' is a predefined number specified by the user. The algorithm iteratively assigns each data point to the cluster with the closest centroid (mean) and updates the centroids based on the new assignments.

Hierarchical Clustering

Hierarchical clustering is an alternative to $k$-Means that allows the user to visualize the effect of specifying different numbers of clusters. It is more sensitive in discovering outlying or aberrant groups or records. Hierarchical clustering’s flexibility comes with a cost, and hierarchical clustering does not scale well to large data sets with millions of records 2.

Model-Based Clustering

Model-based clustering is a technique that assigns data points to clusters based on probabilistic models. It assumes that the data is generated from a mixture of distributions, and uses statistical inference to estimate the model parameters and assign data points to clusters based on the likelihood of belonging to each distribution.

Footnotes

  1. Clustering Analysis

  2. Practical Statistics for Data Scientists 2

cluster-analysis's People

Contributors

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