0Pricing
Data Science Academy · درس

التجميع الهرمي وDBSCAN

عناقيد بأشكال وكثافات متنوعة

التجميع الهرمي وDBSCAN درس مجاني في Data Science Academy على CoddyKit. هذا هو الدرس 3 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Data Science Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Data Science Academy 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

Beyond k-Means

k-Means assumes round, similar-sized clusters and a fixed k. When that breaks, other algorithms handle trickier shapes and densities. 🔍

Build a Hierarchy

Hierarchical clustering merges the two closest groups over and over, building a tree of nested clusters from the bottom up.

Read the Dendrogram

That tree is drawn as a dendrogram. Cut it at a chosen height and the branches below become your clusters.

No k Up Front

A real perk is that you do not commit to k early. You inspect the dendrogram, then decide where to cut it.

Linkage Sets the Rule

How distance between groups is measured depends on the linkage, such as ward, average, or complete.

from sklearn.cluster import AgglomerativeClustering

A Density View

DBSCAN takes a different angle: it treats clusters as dense regions of points separated by sparser gaps.

Two Key Settings

DBSCAN needs a neighborhood radius eps and a minimum point count. Together they define what dense enough means.

from sklearn.cluster import DBSCAN
model = DBSCAN(eps=0.5, min_samples=5)

It Finds the Count

Unlike k-Means, DBSCAN figures out the number of clusters itself from the density of your data.

Noise Gets Its Own Label

Points in sparse areas are flagged as noise with the label minus one, instead of being forced into a cluster.

Any Shape Welcome

Because it follows density, DBSCAN can trace long, curved, or oddly shaped clusters that k-Means would slice apart.

Pick Your Tool

Use hierarchical for nested structure you want to explore, and DBSCAN for irregular shapes with built-in outlier handling.

Quick Check

Let us confirm a standout trait of DBSCAN.

Recap

Hierarchical clustering builds a dendrogram you cut, while DBSCAN finds dense, any-shaped clusters and flags noise. 🎯

الأسئلة الشائعة

هل درس «التجميع الهرمي وDBSCAN» مجاني؟

نعم — نص درس «التجميع الهرمي وDBSCAN» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Data Science Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Data Science Academy 4 دروس في المجموع.

ماذا ستتعلم في «التجميع الهرمي وDBSCAN»؟

عناقيد بأشكال وكثافات متنوعة تتمرن على Data Science Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Data Science Academy؟

لا تُشترط خبرة سابقة. Data Science Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 3 من أصل 4.

كم من الوقت يستغرق درس «التجميع الهرمي وDBSCAN»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Data Science Academy هذا؟

نعم. كل درس في Data Science Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. التعلّم الخاضع للإشراف في مقابل غير الخاضع للإشراف
  2. k-Means واختيار k
  3. التجميع الهرمي وDBSCAN
  4. حلّل عناقيدك وسمِّها
← العودة إلى Data Science Academy