AI Basics flash cards: Apprentice level
33 AI Basics terms at the Apprentice level, as flash cards.
Updated
Terms in this deck
- Accuracy
- The share of a classifier's guesses that are right: right guesses divided by all guesses.
- AI API
- A web API for sending prompts to a model from code.
- AI Coding Assistant
- AI that suggests and writes code in your tools.
- Baseline
- The simplest honest guess, such as always guessing the average, that a model has to beat to be worth using.
- Binary Classification
- Classification with exactly two possible answers, such as spam or not spam, or fraud or not fraud.
- Categorical Feature
- A feature whose values are categories, not amounts, such as species or neighborhood; most models need it encoded as numbers first.
- Classification
- Machine learning that guesses a category, one of a fixed set of answers such as spam or not spam, from examples that come with their answers.
- Classifier
- A model that does classification: it guesses a category for each example, such as spam or not spam.
- Cluster
- A group of examples that clustering found to be similar to each other, such as customers who visit early and buy little.
- Context Window
- How much text a model can consider at once.
- Decision Tree
- A model that guesses by asking a chain of yes-or-no questions about the features, like a flowchart, ending at a leaf with the answer.
- False Negative
- A miss: the model said no, but the answer is yes, such as a fraud the check let through.
- False Positive
- A false alarm: the model said yes, but the answer is no, such as a normal payment flagged as fraud.
- Feature
- A column a model looks at to make its guess, such as the temperature when guessing a day's sales.
- Hallucination
- An AI confidently stating something false.
- Heuristic
- A hand-written rule of thumb, such as "Saturdays are busy, so bake more", used instead of a model learned from data.
- Inference
- Using a trained model to produce output.
- Intercept
- Where a line starts: its guess when every feature is 0, a starting amount the slopes build on.
- Label
- The column a model learns to guess, such as the cups sold; scikit-learn calls it the target.
- Majority Vote
- Picking the answer most of a group chose, such as the label most of a new example's nearest neighbors share.
- Multimodal Model
- A model that handles text plus images, audio or documents.
- Probability
- How likely something is, from 0 (it never happens) to 1 (it always does); 0.8 means about 8 times in 10.
- Prompt Engineering
- Writing prompts that get reliable results.
- Pythagorean Theorem
- The rule that a right triangle's long side, squared, equals the other two sides squared and added: 3² + 4² = 5².
- Regression
- Machine learning that guesses a number, such as tomorrow's loaves or a home's price, from examples that come with their answers.
- Slope
- How much a line's guess goes up for each one-unit step in a feature, in the label's units: dollars per square foot, say.
- System Prompt
- The standing instruction that sets an AI's role and rules.
- Temperature
- A setting for how random or creative output is.
- Test Data
- The examples held back from a model while it learns, so its guesses can be scored on examples it never saw.
- Token
- A chunk of text, about three-quarters of a word.
- Training Data
- The examples a model learned from.
- True Negative
- A no the model got right: it let through an example that really isn't the positive class, such as a normal payment.
- True Positive
- A yes the model got right: it flagged an example that really is the positive class, such as a fraud it caught.