🔥 Matt Dancho (Business Science) 🔥 Profile picture
Aug 14 14 tweets 4 min read Read on X
The 10 types of clustering that all data scientists need to know.

Let's dive in: Image
1. K-Means Clustering:

This is a centroid-based algorithm, where the goal is to minimize the sum of distances between points and their respective cluster centroid. Image
2. Hierarchical Clustering:

This method creates a tree of clusters. It is subdivided into Agglomerative (bottom-up approach) and Divisive (top-down approach). Image
3. DBSCAN (Density-Based Spatial Clustering of Applications with Noise):

This algorithm defines clusters as areas of high density separated by areas of low density. Image
4. Mean Shift Clustering:

It is a centroid-based algorithm, which updates candidates for centroids to be the mean of points within a given region.
5. Gaussian Mixture Models (GMM):

This method uses a probabilistic model to represent the presence of subpopulations within an overall population without requiring to assign each data point to a cluster. Image
6. Spectral Clustering:

It uses the eigenvalues of a similarity matrix to reduce dimensionality before applying a clustering algorithm, typically K-means. Image
7. OPTICS (Ordering Points To Identify the Clustering Structure):

Similar to DBSCAN, but creates a reachability plot to determine clustering structure.
8. Affinity Propagation:

It sends messages between pairs of samples until a set of exemplars and corresponding clusters gradually emerges.
9. BIRCH (Balanced Iterative Reducing and Clustering using Hierarchies):

Designed for large datasets, it incrementally and dynamically clusters incoming multi-dimensional metric data points.
10. CURE (Clustering Using Representatives):

It identifies clusters by shrinking each cluster to a certain number of representative points rather than the centroid. Image
EVERY DATA SCIENTIST NEEDS TO LEARN AI IN 2025.

99% of data scientists are overlooking AI.

I want to help.
On Wednesday, August 21st, I'm sharing one of my best AI Projects:

How I built an AI Customer Segmentation Agent with Python:

Register here (500 seats): learn.business-science.io/ai-registerImage
That's a wrap! Over the next 24 days, I'm sharing the 24 concepts that helped me become an AI data scientist.

If you enjoyed this thread:

1. Follow me @mdancho84 for more of these
2. RT the tweet below to share this thread with your audience

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with 🔥 Matt Dancho (Business Science) 🔥

🔥 Matt Dancho (Business Science) 🔥 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @mdancho84

Aug 13
🚨 BREAKING: IBM launches a free Python library that converts ANY document to data

Introducing Docling. Here's what you need to know: 🧵 Image
1. What is Docling?

Docling is a Python library that simplifies document processing, parsing diverse formats — including advanced PDF understanding — and providing seamless integrations with the gen AI ecosystem. Image
2. Document Conversion Architecture

For each document format, the document converter knows which format-specific backend to employ for parsing the document and which pipeline to use for orchestrating the execution, along with any relevant options. Image
Read 8 tweets
Aug 12
Type 1 and Type 2 errors are confusing. In 3 minutes, I'll demolish your confusion. Let's dive in. 🧵 Image
1. Type 1 Error (False Positive):

This occurs when the pregnancy test tells Tom, the man, that he is pregnant. Obviously, Tom cannot be pregnant, so this result is a false alarm. In statistical terms, it's detecting an effect (in this case, pregnancy) when it actually doesn't exist.
2. Type 2 Error (False Negative):

This happens when Lisa, who is actually pregnant, takes the test, and it tells her that she's not pregnant. The test failed to detect the real condition of pregnancy. In statistical terms, it's failing to detect a real effect (pregnancy) that is there.
Read 12 tweets
Aug 9
Stop doing Customer Segmentation with plain vanilla Scikit Learn.

Add these 7 Python libraries to your RFM, clustering, and
customer segmentation projects: Image
1. Data preparation

- load data with pandas
- impute/mask with Feature-engine

Website: feature-engine.trainindata.com/en/latest/inde…Image
2. Feature creation:

- derive recency/frequency/monetary features
- Use rfm or Lifetimes

Github: github.com/sonwanesuresh9…Image
Read 9 tweets
Aug 9
RIP Data Scientists.

The Generative AI Data Scientist is NOW what companies want.

This is actually good news. Let me explain: Image
Companies are sitting on mountains of unstructured data.

PDF
Word docs
Meeting notes
Emails
Videos
Audio Transcripts

This is useful data. But it's unusable in its existing form. Image
The AI data scientist builds the systems to analyze information, gain business insights, and automates the process.

- Models the system
- Use AI to extract insights
- Drives predictive business insights Image
Read 6 tweets
Aug 8
RIP Tableau and PowerBI.

Enter Julius AI.

This is what Julius can do: Image
1. The $10 Billion problem with Tableau and PowerBI?

Dashboards are static.

But businesses are dynamic.

That's why I'm so excited about this new tool: Julius AI Image
2. Julius AI is for Data Analytics

Julius AI is built to analyze any database, PDF, or spreadsheet, and combine results into summarized business intelligence in seconds. Image
Read 11 tweets
Aug 8
Boxplots are one of the most useful tools in my Data Science arsenal.

In 6 minutes, I'll eviscerate your confusion.

Let's dive in. Image
1. What is a boxplot?

A boxplot is a standardized way of displaying the distribution of data based on a five-number summary: minimum, first quartile (Q1), median, third quartile (Q3), and maximum. Image
2. Invention:

The boxplot was invented in 1969 by John Tukey, as part of his pioneering work in data visualization. Tukey's EDA emphasized the importance of using simple graphical and numerical methods to start understanding the data before making any assumptions about its underlying distribution or applying complex statistical models. The boxplot emerged from this philosophy. Tukey's boxplot was designed to be a quick and easy way to visualize the distribution of data.
Read 12 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(