AI, graphs and neural networks
הוצג
13:04
מהי בינה מלאכותית
אף אחד לעולם לא כתב את החוקים להבחנה בין חתול לכלב. אף מתכנת לא ישב והקליד "אם יש לו אוזניים מחודדות וזקניים". עם זאת, הטלפון שלך עושה זאת…
קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן
בשיעור הזה
| English | משמעות |
|---|---|
| image-recognition | The process of using a computer to identify what is shown in images. |
| error rate | The number of wrong answers compared with the total number of answers. |
| machine learning/məˈʃiːn ˈlɜːnɪŋ/ | למידת מכונה |
| deep learning/diːp ˈlɜːnɪŋ/ | למידה עמוקה |
| graph/ɡræf/ | גרף |
| artificial neural network/ˌɑːtɪˈfɪʃl ˈnjuːrəl ˈnetwɜːk/ | A system of connected artificial neurons that learns patterns from data. |
| Artificial intelligence/ˌɑːtɪˈfɪʃl ɪnˈtelɪdʒəns/ | Computer methods designed to perform tasks involving abilities such as learning, reasoning, perception or language processing. |
| algorithms/ˈælɡərɪθəmz/ | A finite sequence of precise steps for solving a problem or carrying out a task. |
| neural networks/ˈnjuːrəl ˈnetwɜːks/ | רשתות עצביות |
| raw data | Data in its original form before it has been processed. |
| pixels/ˈpɪkslz/ | An individual picture element in a digital image or display. |
| features/ˈfiːtʃəz/ | Characteristics of data that help a system find patterns or make decisions. |
| nodes/nəʊdz/ | צמתים |
| edges/ˈedʒɪz/ | קשרים |
| Pathfinding | The process of finding a route between points in a graph. |
| graph search | The process of exploring nodes and edges to find a goal or route. |
| Dijkstra's algorithm/ˈdeɪkstrəz ˈælɡərɪθəm/ | An algorithm that finds shortest paths when all edge weights are zero or greater. |
| A\* | An algorithm that uses path costs and estimated remaining costs to find a route. |
| tree/triː/ | A structure of connected nodes that can split into branches. |
| minimax/ˈmɪnɪmæks/ | מינימקס |
| Knowledge representation | A semantic network holds concepts as nodes and relationships as edges. Breadth-first and depth-first search are the standard tools for exploring any of these. |
| semantic network/səˈmæntɪk ˈnetwɜːk/ | A graph representing concepts as nodes and meaningful relationships as links between them. |
| Breadth-first/bredθ fɜːst/ | Describes a search that explores nearby nodes before moving to more distant nodes. |
| depth-first/depθ fɜːst/ | Describes a search that follows one path as far as possible before returning. |
| weight/weɪt/ | משקל |
| artificial neuron/ˌɑːtɪˈfɪʃl ˈnjuːrɒn/ | A computational unit that combines weighted inputs with a bias and applies an activation function to produce an output. |
| bias/ˈbaɪəs/ | A value added to the inputs after each input is multiplied by its weight. |
| non-linear | Describes a relationship that cannot be shown as a straight line. |
| activation function/ˌæktɪˈveɪʃn ˈfʌŋkʃn/ | פונקציית הפעלה |
| input layer | The layer of a neural network that receives the data. |
| hidden layers/ˈhɪdn ˈleɪəz/ | שכבות נסתרות |
| output layer | The layer of a neural network that produces its final answer. |
| class/klæs/ | A category to which a neural network assigns an item. |
| training/ˈtreɪnɪŋ/ | The process of adjusting a network's weights and biases using data. |
| architecture/ˈɑːkɪtektʃə/ | The arrangement of a neural network's layers and connections between neurons. |
התוכנית שלמדה לראות מבלי שספרו לה על מה לחפש
- בשנת 2012 צוות השתתף בתחרות זיהוי תמונות עם תוכנית שלא קיבלה לעולם כלל אחד לגבי מראה חתול. הוצגו למיליון תמונות מסומנות, והיא גייסה את הכללים בעצמה.
- היא הכפילה בהפחתת שיעור השגיאה בכל כניסה שתוכנתה ידנית. בתוך שלוש שנים כל התחום נטש כתיבת כללים.
- הפיכה זו היא נושא נושא זה: לא "איך אנו אומרים למחשב מהו חתול", אלא "איך מחשב עושה זאת ממדגמים".
- שיעור זה הוא מה שלמידת מכונה ולמידה עמוקה פוגשים, איך גרף הופך בעיות בינה מלאכותית לחיפוש, ומה רשת נוירונים מלאכותית מחשבת בפועל.
בינה מלאכותית, למידת מכונה ולמידה עמוקה
- בינה מלאכותית היא המטרה הרחבה: מערכות המבצעות משימות הדורשות בדרך כלל בינה אנושית, כמו ראייה, דיבור, תרגום והנהגה.
- למידת מכונה היא הגישה הדומיננטית עליה: אלגוריתמים לומדים דפוסים מהנתונים במקום להיות מוכנת צעד אחר צעד.
- למידה עמוקה היא למידת מכונה המשמשת רשתות נוירונים עם שכבות רבות. היא מובילה את התחום מאז שנות ה-2010 כי היא לומדת ישירות מהנתונים הגולמיים, פיקסלים או אודיו או טקסט, ללא מאפיינים שתוכננו ידנית.
- הם משתלבים זה בתוך זה: למידה עמוקה היא חלק מלמידת מכונה, שהוא חלק מבינה מלאכותית.

שלושה עיגולים, לא שלושה מתחרים

Machine learning means an algorithm that:
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
ML learns from data; deep learning is ML using multi-layer neural networks.
How do AI, machine learning and deep learning relate?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
AI is the goal, machine learning is the dominant approach to it, and deep learning is machine learning with many-layered networks.
גרפים, ולמה כל כך הרבה בינה מלאכותית היא חיפוש
- גרף הוא קבוצת צמתים המחוברים על ידי קשרים. צמתים הם מצבים, מקומות או מושגים; קשרים הם תנועות, כבישים או יחסים.
- מציאת מסלול: רשת כבישים היא גרף, ומציאת נתיב היא חיפוש בגרף, באמצעות אלגוריתם דייקסטרה או A*.
- משחקי מחשב: כל מצב לוח הוא צומת וכל תנועה חוקית היא קשר, ולכן המשחק הוא עץ ש-מינימקס מחפש, בהנחה שכל שחקן בוחר את האפשרות הטובה ביותר שלו.
- ייצוג ידע: רשת סמנטית שומרת מושגים כצמתים ויחסים כקשרים. חיפש רחב-ראשון וחיפש עמוק-ראשון הם הכלים הסטנדרטיים לחקירת כל אחד מהם.
In AI, a graph consists of:
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Graphs model states/places as nodes and moves/relationships as edges — used for pathfinding, game trees and knowledge.
דוגמה פתורה: הדמיית בעיה כגרף
- חברת משלוחים רוצה את הנתיק הקצר ביותר בין שני ערים. תארו כיצד זה מיוצג כגרף.
- כל עיר היא צומת; כל כביש הוא קשר המחבר שני צמתים; לקשר יש משקל, שהוא המרחק או זמן הנסיעה.
- הבעיה היא אז "למצוא את הנתיק בין שני הצמתים עם המשקל הכולל הקטן ביותר", שאלגוריתם דייקסטרה פותר.
- ציינו מה הצמתים, מה הקשרים ומה המשקלים משמעים. תשובה שאומרת רק "זה גרף" לא תזכה בנקודות.

A road network is modelled as a graph to find the shortest route. Which statements are correct? Select כולם that apply.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
Places are nodes and connections are edges. Saying what the weights represent is the third mark.
הנוירון המלאכותי
- נוירון מלאכותי מקבל מספר קלטות. הוא מכפיל כל קלט במשקל, מוסיף אותם יחד עם שיפול (בייאס), ואז מעביר את הסכום דרך פונקציית פעולה לא-ליניארית כדי ליצור את הפלט.
- המשקלים הם מה שהרשת לומדת. פונקציית הפעולה היא מה שמאפשרת לרשת לייצג משהו אחר ממעגל ישר: ללאה, כל מספר של שכבות יתמוטט לנוסחה ליניארית אחת.

כפל, חיבור, ואז כיפוף

Put the steps inside one artificial neuron in order.
רמת קושי 3/5 · 200 מטבעות + בונוס קטן בהשלמה הראשונה היום
Multiply, sum, activate, pass on. Without the non-linear activation, any depth of network would collapse into one linear formula.
שכבות, ומה "עמוק" משמעות
- נוירונים מסודרים בשכבות. שכבת הקלט מקבלת את הנתונים. שכבות נסתרות אחת או יותר לומדות דפוסים פנימיים. שכבת הפלט מייצרת את התשובה, מחלקה או מספר.
- רשת נקראת עמוקה כשהיא מכילה שכבות נסתרות רבות, והאימון של רשת כזו הוא למידה עמוקה.
- מדוע השכבות הנסתרות חשובות: ברשת לתמונות השכבות הראשוניות לומדות קצוות, השכבות האמצעיות צורות, והשכבות המאוחרות אובייקטים. אף אחד לא עיצב היררכיה זו; זו תוצאת האימון.

כניסה, נסתר, תפוקה והלמידה נמצאת במשקלים ביניהם

Tap the parts of a neural network
Explore the layers. Data flows left to right: the input layer takes the features, the hidden layers learn patterns, and the output layer gives the answer — with every connection carrying a weight that training adjusts.
Match each part of a neural network to its role.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
Features enter the input layer, hidden layers learn patterns, the output layer answers; learning = tuning the weights.
A neural network is called "deep" when it has many hidden layers, and each neuron takes a weighted sum of its inputs (plus a bias) before applying an activation function.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Stacking many hidden layers lets the network learn richer patterns — training such a network is deep learning.
A neural network is called "deep" when it has:
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Many hidden layers make a deep neural network; training one is deep learning.
During training, the values adjusted inside a neural network are its ____.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
The architecture and the activation function are chosen by the designer; what the network learns is stored in the weights.
דוגמה מפורטת: הסבר כיצד נוירון מבצע חישוב
- תאר מה קורה בתוך נוירון מלאכותי יחיד. [3]
- כל כניסה מכופלת במשקל המיועד לה ומוספת סכום הכולל גם שיפול (bias).
- הסכום המתקבל עובר דרך פונקציית הפעלה, שאינה ליניארית.
- התוצאה היא התפוקה של הנוירון, המשמשת ככניסה לנוירונים בשכבה הבאה. המשקלים והשיפול הם הערכים המותאמים במהלך האימון.

סימונים נופלים מהיד
- למידת מכונה לומדת דפוסים ממידע; היא אינה "מותכנת צעד אחר צעד" ואינה קסם. אמור מה היא לומדת ממנו.
- "עמוק" פירושו רבות שכבות נסתרות, לא "חכם מאוד" או "גדול מאוד".
- גרף הוא צמתים וקשרים, ותשובה לגבי גרף חייבת לציין מה מייצג כל אחד בבעיה זו.
- ה-משקלים הם מה שהאימון משנה. פונקציית ההפעלה והארכיטקטורה נבחרות על ידי המעצב.
הבנתך מושלמת
- בינה מלאכותית היא היעד, למידת מכונה לומדת דפוסים ממידע במקום לעקוב אחרי כללים כתובים, ולמידה עמוקה היא למידת מכונה עם רשתות נוירונים רבות-שכבתיות.
- גרף של צמתים וקשרים הופך מציאת מסלול, משחקי מחשב וייצוג ידע לחיפוש, באמצעות אלגוריתמים כמו Dijkstra, A*, minimax, חיפוש רוחב וחיפוש עומק.
- נוירון מלאכותי מכפיל כניסות ב-משקלים, מוסיף שיפול ומפעיל פונקציית הפעלה לא ליניארית.
- השכבות מופעלות כ-כניסה, נסתר, תפוקה; עמוק פירושו רבות שכבות נסתרות, והלמידה נמצאת במשקלים.
מה השתבש? רק צוות האתר רואה זאת.
Try it in the lab 32
All labs →- Teach a Perceptron
- Train a Network on Your Drawings
- Teach a Robot by Reward
- Build a Decision Tree
- Nearest Neighbours
- Roll Down the Loss
- Find the Groups
- Find the Shortest Route
- See Like a Computer
- Guess the Next Word
- Is the Computer Fair?
- Build an Expert System
- Evolve a Catapult
- Catch the Spam
- Think Ahead
- Inside a Neural Network
- Learning or Remembering? Overfitting
- Search the Maze
- What Should I Watch? A Recommender
- Teach a Car to Drive
- Matchbox Learner
- Build a Chatbot
- Fewer Colours
- Mood Meter
- Spot the Fraud
- Hear the Word
- Follow the Ants
- Plan the Delivery Round
- Squash the Data
- Explore or Exploit? Learning by Trying
- Mark the Model
- Ask Many Models