MUHIMMAN JAGORA

Yadda AI ke Koyi

Tsarin koyo na inji yana koya ta hanyar daidaita ƙira ta amfani da bayanai da makasudin horo.

3 min karatuAn sabunta ta ƙarshe Sashe na hanyar ilmantarwa Tushen AI

Dubawa

The aim is to perform well on new examples, not simply to remember the training examples; some AI systems use explicit rules and do not learn this way at all.

Mabuɗin ɗaukar hoto

  • Training changes the model; inference uses it.
  • Keep evaluation examples separate from the examples used to choose or train the model.
  • Choose metrics that reflect the cost of mistakes, not only a large accuracy number.

Zurfafa nutsewa

In supervised learning, training examples pair inputs with target outputs. The model makes a prediction, a loss function measures how far that prediction is from the target, and a training algorithm changes the model to reduce the loss. Neural networks commonly use gradient-based optimization, but not every learning algorithm uses gradients. Validation data helps developers choose settings and compare candidate models. A held-out test set provides a separate estimate of performance after those choices are made. Repeatedly choosing models based on the test set weakens that separation. If the same person, document, or near-duplicate example appears on both sides of a split, the result can look better than performance on genuinely new data. Other learning setups use different signals. Unsupervised learning looks for structure without a target label for every example. Self-supervised training creates prediction tasks from the data itself, such as predicting text that follows a context. Reinforcement learning uses feedback about actions and outcomes. In every case, the training objective is a useful proxy, not a complete definition of what people want. After training, inference is the use of the model to produce an output. Supplying an example in a prompt can change the current response without updating the model's learned weights. Whether a service later uses a conversation for training is a separate product and data-policy question.

Fahimtar Fasaha

Low training error can coexist with poor real-world performance. Overfitting, data leakage, changes in the input distribution, and a mismatch between the measured objective and the real task all need separate checks.

Why accuracy can mislead: a toy spam test

  1. Imagine 100 test messages: 10 are spam and 90 are legitimate. A system that never flags spam is 90% accurate but catches none of the spam.
  2. Another system flags 20 messages. Eight really are spam and 12 are legitimate. It misses two spam messages.
  3. Its accuracy is 86%, precision is 8/20 = 40%, and recall is 8/10 = 80%. Decide whether catching eight spam messages is worth wrongly flagging 12 legitimate messages.

These are invented counts for an arithmetic example, not a benchmark result. They show why a single metric cannot determine whether a model is fit for a task.

Dabarun Tasiri

Shawarwari masu haske

Yana taimaka muku keɓance bayyanannen da'awar fasaha daga harshen talla.

Kudin da kasafin kuɗi

Kuna iya yin mafi kyawun tambayoyin aiwatarwa kafin kashe kuɗi ko lokaci.

Ƙungiya da aikin aiki

Ƙungiyoyin da ke da fahimtar juna suna yin mafi kyawun samfura, manufofi, da yanke shawara na koyo.

Aiwatar da Gaskiyar Duniya

Predicting tomorrow's demand from historical sales is supervised learning when the past outcomes are known.

Grouping similar documents without predetermined categories is an unsupervised task.

Predicting missing or next tokens in text creates a training signal from the text itself.

Hatsari & Tsare-tsare

Ƙungiyoyi daban-daban na iya amfani da kalmar iri ɗaya daban, don haka ayyana iyaka da wuri.

Alamomi na iya yin kama da ƙarfi yayin da aikin zahirin duniya bai yi daidai ba.

Yin watsi da ingancin bayanai da tsare-tsaren kimantawa galibi yana haifar da sakamako mara ƙarfi.

Taswirar Hanya

1

Fara da ma'anar harshe a sarari na sakamakon da kuke buƙata.

2

Zaɓi ma'aunin nasara ɗaya da yanayin gazawa ɗaya kafin gwaji.

3

Gudun ƙaramin matukin jirgi tare da bayanan wakilci, ba saitin demo da aka goge ba.

4

Takaddun inda Yadda AI ke Koyi yana taimakawa kuma inda hanyoyin mafi sauƙi suka fi kyau.

Sources da ƙarin karatu

Ci gaba da Bincike

Free newsletter

Get the daily AI briefing

Three verified AI stories every weekday morning, written in plain English. Free forever, no ads.

One email each weekday. Unsubscribe in one click. We never sell or share your address.

Test yourself

Take the How AI Learns quiz

Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.

Fara tambayoyi

Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation

Na gaba a cikin AI Foundations

AI horo

Tambayoyin da ake yawan yi

Does an AI system learn permanently from every prompt?

Not necessarily. A prompt changes the model's current context; it does not by itself imply that model weights are updated. A service's later training and retention policies are separate questions.

Why use a separate test set?

It provides examples that were not used to fit the model or repeatedly choose its settings. This makes the evaluation more informative about performance on new data.