Unsupervised Learning and Discovering Structure
هوش مصنوعی برای همه: هوش مصنوعی چطور باهوش شد؟
- Learning from examples without supplied target labels.
- Clustering objects by measured similarity.
- How changing features, scales, or a similarity rule can change the resulting groups.
- Dimensionality reduction as a simplified view of many measurements.
- Anomaly detection as identifying unusual examples rather than automatically diagnosing their cause.
- Why discovered groups do not come with guaranteed meanings or correct names.
یادگیری بدون جواب آماده
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><rect class="tm-surface" x="245" y="105" width="310" height="240" rx="18"/><text class="tm-text" x="400" y="82" font-size="22" text-anchor="middle" direction="rtl">جعبهٔ قطعهها</text><rect class="tm-accent" x="285" y="145" width="92" height="60" rx="12"/><rect class="tm-soft" x="415" y="145" width="92" height="60" rx="12"/><rect class="tm-accent" x="285" y="245" width="92" height="60" rx="12"/><rect class="tm-soft" x="415" y="245" width="92" height="60" rx="12"/><text class="tm-text" x="331" y="182" font-size="16" text-anchor="middle" direction="rtl">طول و عرض</text><text class="tm-muted" x="461" y="182" font-size="16" text-anchor="middle" direction="rtl">طول و عرض</text><text class="tm-muted" x="331" y="282" font-size="16" text-anchor="middle" direction="rtl">طول و عرض</text><text class="tm-muted" x="461" y="282" font-size="16" text-anchor="middle" direction="rtl">طول و عرض</text><text class="tm-text-accent" x="400" y="390" font-size="18" text-anchor="middle" direction="rtl">جوابِ هدف: ثبت نشده</text><rect class="tm-green" x="570" y="155" width="150" height="75" rx="14"/><text class="tm-text-green" x="645" y="185" font-size="16" text-anchor="middle" direction="rtl">رنگ</text><text class="tm-text-green" x="645" y="208" font-size="15" text-anchor="middle" direction="rtl">در داده نیست</text><line class="tm-line" x1="555" y1="192" x2="570" y2="192"/></svg>
```
شباهت بر پایهٔ اندازهها
سه قطعه؛ ویژگیها: عرض و طول، بر حسب سانتیمتر.
**اندازههای ثبتشده**
\[ \text{الف}=(1,1),\quad \text{ب}=(1,2),\quad \text{پ}=(2,1) \]
ترتیب ویژگیها: عرض، طول
**اختلافهای جفتها**
\[ \text{الف، ب}: (0,1),\quad \text{الف، پ}: (1,0),\quad \text{ب، پ}: (1,1) \]
در هر جفت: اختلاف عرض، سپس اختلاف طول
**اعمال قاعدهٔ شباهت**
\[ (0,1)<(1,0),\quad \text{الف، ب}\text{ نزدیکترین جفت} \]
عرض اولویت دارد؛ در تساوی، طول تعیینکننده است.
**گروهبندی نهایی**
\[ \{\text{الف، ب}\},\quad \{\text{پ}\} \]
پ جدا میماند.
شباهت با معیار متفاوت
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" class="tm-arrow"/></marker></defs><text x="400" y="34" text-anchor="middle" class="tm-text" font-size="20" direction="rtl">داده ثابت؛ معیار شباهت متفاوت</text><text x="400" y="76" text-anchor="middle" class="tm-muted" font-size="16" direction="rtl">عرض ، طول</text><rect x="80" y="110" width="170" height="100" rx="12" class="tm-surface"/><text x="165" y="145" text-anchor="middle" class="tm-text" font-size="18" direction="rtl">الف (۱،۱)</text><text x="165" y="178" text-anchor="middle" class="tm-muted" font-size="14" direction="rtl">عرض، طول</text><rect x="315" y="110" width="170" height="100" rx="12" class="tm-surface"/><text x="400" y="145" text-anchor="middle" class="tm-text" font-size="18" direction="rtl">ب (۱،۲)</text><text x="400" y="178" text-anchor="middle" class="tm-muted" font-size="14" direction="rtl">عرض، طول</text><rect x="550" y="110" width="170" height="100" rx="12" class="tm-surface"/><text x="635" y="145" text-anchor="middle" class="tm-text" font-size="18" direction="rtl">پ (۲،۱)</text><text x="635" y="178" text-anchor="middle" class="tm-muted" font-size="14" direction="rtl">عرض، طول</text><text x="400" y="260" text-anchor="middle" class="tm-text" font-size="16" direction="rtl">معیار تازه: اختلاف طول، سپس عرض</text><line x1="165" y1="210" x2="635" y2="210" class="tm-line-accent" stroke-width="4"/><circle cx="165" cy="210" r="7" class="tm-accent"/><circle cx="635" cy="210" r="7" class="tm-accent"/><rect x="80" y="300" width="300" height="90" rx="12" class="tm-accent"/><text x="230" y="350" text-anchor="middle" class="tm-text" font-size="18" direction="rtl">الف + پ</text><rect x="420" y="300" width="300" height="90" rx="12" class="tm-soft"/><text x="570" y="350" text-anchor="middle" class="tm-muted" font-size="18" direction="rtl">ب جدا</text><text x="400" y="425" text-anchor="middle" class="tm-text-accent" font-size="16" direction="rtl">معیار عوض شد؛ داده همان است</text></svg>
```
نمای سادهتر، اطلاعات کمتر
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><rect class="tm-surface" x="55" y="60" width="300" height="300" rx="18"/><text class="tm-text" x="205" y="95" font-size="20" text-anchor="middle" direction="rtl">دو اندازه</text><text class="tm-text2" x="205" y="145" font-size="18" text-anchor="middle" direction="rtl">الف: عرض ۱، طول ۱</text><text class="tm-text2" x="205" y="200" font-size="18" text-anchor="middle" direction="rtl">ب: عرض ۱، طول ۲</text><text class="tm-text2" x="205" y="255" font-size="18" text-anchor="middle" direction="rtl">پ: عرض ۲، طول ۱</text><line class="tm-line" x1="390" y1="210" x2="475" y2="210"/><rect class="tm-soft" x="490" y="60" width="255" height="300" rx="18"/><text class="tm-text" x="617" y="95" font-size="20" text-anchor="middle" direction="rtl">یک عدد</text><rect class="tm-accent tm-enter" x="515" y="115" width="205" height="50" rx="10"/><text class="tm-text" x="617" y="148" font-size="18" text-anchor="middle" direction="rtl">الف: ۱</text><rect class="tm-gold tm-enter" x="515" y="180" width="205" height="50" rx="10"/><text class="tm-text" x="617" y="213" font-size="18" text-anchor="middle" direction="rtl">ب: ۱٫۵</text><rect class="tm-gold" x="515" y="245" width="205" height="50" rx="10"/><text class="tm-text" x="617" y="278" font-size="18" text-anchor="middle" direction="rtl">پ: ۱٫۵</text><text class="tm-muted" x="617" y="330" font-size="15" text-anchor="middle" direction="rtl">ب و پ: دیگر قابل تشخیص نیستند</text></svg>
```
نامعمول، نه لزوماً خطا
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><text class="tm-text" x="400" y="45" font-size="22" text-anchor="middle" direction="rtl">بازهٔ مرجع: ۱ تا ۲ سانتیمتر</text><line class="tm-line" x1="180" y1="150" x2="620" y2="150"/><rect class="tm-green" x="300" y="125" width="180" height="50" rx="12"/><text class="tm-text" x="390" y="157" font-size="18" text-anchor="middle" direction="rtl">اندازههای معمول</text><circle class="tm-accent" cx="680" cy="150" r="24"/><text class="tm-text" x="680" y="157" font-size="17" text-anchor="middle" direction="rtl">۸</text><text class="tm-muted" x="680" y="195" font-size="16" text-anchor="middle" direction="rtl">سانتیمتر</text><text class="tm-text-accent" x="400" y="255" font-size="19" text-anchor="middle" direction="rtl">بیرون از بازه ← علامتگذاری</text><rect class="tm-gold" x="300" y="300" width="200" height="55" rx="12"/><text class="tm-text" x="400" y="334" font-size="18" text-anchor="middle" direction="rtl">نیازمند بررسی</text><text class="tm-text2" x="400" y="400" font-size="16" text-anchor="middle" direction="rtl">اندازهگیری دوباره | بررسی واحد | بررسی حسگر</text><text class="tm-muted" x="400" y="428" font-size="15" text-anchor="middle" direction="rtl">نامعمولبودن، دلیل حذف داده نیست</text></svg>
```
Back to course