1
What is artificial intelligence (AI)?
The field of computer science focused on building systems that perform tasks normally requiring human intelligence.
2
What is machine learning (ML)?
A subset of AI in which systems learn patterns from data instead of following explicitly programmed rules.
3
What is deep learning?
A branch of ML that uses neural networks with many layers to learn complex patterns.
4
What is supervised learning?
Training a model on labeled data, where each input has a known correct output.
5
What is unsupervised learning?
Finding hidden patterns or structure in unlabeled data.
6
What is reinforcement learning?
A method where an agent learns by interacting with an environment and receiving rewards or penalties.
7
What is semi-supervised learning?
Training with a small amount of labeled data plus a large amount of unlabeled data.
8
What is a feature?
An input variable used by a model to make predictions.
9
What is a label (or target)?
The correct output a model is trained to predict.
10
Why split data into training and test sets?
To train the model on one portion and evaluate it on unseen data to measure real-world performance.
11
What is classification?
Predicting which category an input belongs to, such as spam or not spam.
12
What is regression?
Predicting a continuous numeric value, such as a house price.
13
What is clustering?
Grouping similar data points without labels. K-means is a common example.
14
What is linear regression?
A model that predicts a numeric value by fitting a straight line to the data.
15
What is logistic regression?
A classification algorithm that outputs a probability, typically using the sigmoid function.
16
What is a decision tree?
A model that makes predictions by following a series of if/else splits on features.
17
What is a random forest?
An ensemble of many decision trees whose predictions are combined, usually by voting or averaging.
18
What is a support vector machine (SVM)?
An algorithm that finds the boundary (hyperplane) that separates classes with the maximum margin.
19
What is k-nearest neighbors (k-NN)?
An algorithm that classifies a point based on the majority class of its k closest neighbors.
20
What is Naive Bayes?
A probabilistic classifier based on Bayes' theorem that assumes features are independent.
21
What is overfitting?
When a model learns the training data too closely, including noise, and performs poorly on new data.
22
What is underfitting?
When a model is too simple to capture the patterns in the data and performs poorly even on training data.
23
What is the bias-variance tradeoff?
The balance between a model that is too simple (high bias) and one that is too sensitive to training data (high variance).
24
What is cross-validation?
Evaluating a model by training and testing it on several different splits of the data.
25
What is regularization?
A technique, such as L1 or L2 penalties, that discourages model complexity to reduce overfitting.
26
What is a hyperparameter?
A setting chosen before training, such as learning rate or tree depth, rather than learned from data.
27
What is a loss function?
A function that measures how far a model's predictions are from the true values.
28
What is gradient descent?
An optimization algorithm that adjusts parameters step by step to minimize the loss.
29
What is a neural network?
A model made of layers of interconnected nodes (neurons) that learn patterns from data.
30
What is an activation function?
A function, such as ReLU, that adds non-linearity to a neuron's output so the network can learn complex patterns.
31
What is backpropagation?
The algorithm that calculates the loss gradients for each weight so the network can update them.
32
What is an epoch?
One complete pass through the entire training dataset.
33
What is a convolutional neural network (CNN)?
A neural network designed for grid-like data such as images, using filters to detect features.
34
What is a recurrent neural network (RNN)?
A neural network designed for sequential data such as text or time series, which keeps a memory of earlier inputs.
35
What is a transformer?
A neural network architecture that uses attention to process sequences in parallel, introduced in 2017's "Attention Is All You Need."
36
What is natural language processing (NLP)?
The field of AI focused on enabling computers to understand and generate human language.
37
What is a large language model (LLM)?
A very large transformer-based model trained on massive text data to understand and generate language.
38
What is precision?
The share of predicted positives that are actually positive: TP / (TP + FP).
39
What is recall?
The share of actual positives that the model correctly identifies: TP / (TP + FN).
40
What is algorithmic bias?
Systematic unfair outcomes from an AI system, often caused by biased training data or flawed design.