Machine Learning for Beginners
- 65Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
65 questions
- 1Machine learning is a subdomain of computer science that focuses on algorithms that help a computer learn from data without_____programming.
Hint
Think about the opposite of programming every rule step by step.
Answer
explicit
- 2AI is a broad field aiming to enable computers to perform human-like tasks, while machine learning is a_____of AI that makes predictions using data.
Hint
Consider the hierarchy: AI contains ML as a smaller part.
Answer
subset
- 3Data science is a field that attempts to find patterns and draw_____from data, sometimes using machine learning.
Hint
What do you get after analyzing data?
Answer
insights
- 4In supervised learning, we use_____inputs (with corresponding output labels) to train models.
Hint
The data has known answers attached.
Answer
labeled
- 5Unsupervised learning uses_____data to learn about patterns in the data without predefined labels.
Hint
The data has no answers provided.
Answer
unlabeled
- 6In reinforcement learning, an agent learns in an interactive environment based on_____and penalties.
Hint
Think about training a dog with treats.
Answer
rewards
- 7In supervised learning, the output of a model is called the_____.
Hint
What the model spits out after seeing input.
Answer
prediction
- 8The inputs to a machine learning model are collectively called the_____vector.
Hint
Each input variable is a feature, and together they form this vector.
Answer
feature
- 9Qualitative features that have no inherent order, like gender or nationality, are called_____data.
Hint
Think 'name' – categories with no ranking.
Answer
nominal
- 10Qualitative features with an inherent order, such as age groups or ratings, are called_____data.
Hint
Think 'order' – categories can be ranked.
Answer
ordinal
- 11The technique of converting nominal categories into binary vectors is called_____encoding.
Hint
Each category becomes its own binary column with a single 'hot' (1) entry.
Answer
one-hot
- 12Predicting discrete classes, such as cat vs dog, is a_____task.
Hint
Sorting into categories.
Answer
classification
- 13Predicting continuous numerical values, such as house prices, is a_____task.
Hint
Predicting a number on a scale.
Answer
regression
- 14The data used to train a model is called the_____set.
Hint
The set the model learns from.
Answer
training
- 15A_____set is used as a final check to see how generalizable the chosen model is on unseen data.
Hint
Held out until the end.
Answer
test
- 16The difference between a prediction and the true label is called the_____.
Hint
A measure of error.
Answer
loss
- 17L1 loss takes the_____value of the difference between true and predicted values.
Hint
It's the magnitude without sign.
Answer
absolute
- 18L2 loss_____the difference between true and predicted values, penalizing larger errors more.
Hint
It's quadratic.
Answer
squares
- 19Binary cross-entropy loss is used for_____classification tasks.
Hint
Only two classes.
Answer
binary
- 20The proportion of correct predictions out of total predictions is called_____.
Hint
How often the model is correct.
Answer
accuracy
- 21Precision measures out of all samples predicted as positive, how many are actually_____.
Hint
How many of the positive predictions were correct.
Answer
positive
- 22Recall measures out of all actual positive samples, how many were correctly_____.
Hint
How many of the true positives did we catch.
Answer
predicted
- 23The F1 score is the harmonic mean of_____and recall.
Hint
It combines two metrics.
Answer
precision
- 24In K Nearest Neighbors, the parameter K determines the number of_____used to classify a new point.
Hint
Points nearby.
Answer
neighbors
- 25The most common distance function used in KNN is_____distance.
Hint
Straight-line distance.
Answer
Euclidean
- 26In Naive Bayes, the assumption that all features are independent given the class is called the_____assumption.
Hint
Simplifies the calculation.
Answer
naive
- 27Bayes rule states P(A∣B)=P(B)P(B∣A)P(A), where P(A) is called the_____probability.
Hint
Before seeing evidence.
Answer
prior
- 28In Naive Bayes, the term P(B∣A) is called the_____.
Hint
How likely the evidence is given the class.
Answer
likelihood
- 29The denominator in Bayes rule, P(B), is called the_____.
Hint
The probability of the observed data.
Answer
evidence
- 30Logistic regression uses the_____function to map linear combinations to probabilities between 0 and 1.
Hint
S-shaped curve.
Answer
sigmoid
- 31In logistic regression, the log-odds is modeled as a linear function: $\log\left(\frac{p}{1-p}\right) = \_____$.
Hint
A linear equation with slope and intercept.
Answer
mx+b
- 32Support Vector Machines find the_____that best separates classes with maximum margin.
Hint
A decision boundary in high dimensions.
Answer
hyperplane
- 33The data points that define the margin in SVM are called_____vectors.
Hint
They 'support' the decision boundary.
Answer
support
- 34The technique of mapping data into higher dimensions to make it linearly separable in SVM is called the_____trick.
Hint
A function that computes dot products in a transformed space.
Answer
kernel
- 35In a neural network, each node is called a_____.
Hint
Inspired by biological brains.
Answer
neuron
- 36A function applied to the weighted sum of inputs in a neuron to introduce non-linearity is called an_____function.
Hint
It activates or not based on input.
Answer
activation
- 37The process of updating weights by propagating the error backward through the network is called_____.
Hint
Error goes backwards from output to input.
Answer
backpropagation
- 38Gradient descent uses the_____of the loss with respect to weights to update them in the direction of decreasing loss.
Hint
The slope of the loss function.
Answer
gradient
- 39The hyperparameter that controls the step size in gradient descent is called the_____rate.
Hint
How much you adjust per step.
Answer
learning
- 40One complete pass through the entire training dataset during neural network training is called an_____.
Hint
A full cycle.
Answer
epoch
- 41The number of samples processed before the model's internal parameters are updated is called the_____size.
Hint
A mini group.
Answer
batch
- 42A technique that randomly drops neurons during training to prevent overfitting is called_____.
Hint
Neurons are temporarily deactivated.
Answer
dropout
- 43In linear regression, the difference between the actual value and the predicted value is called a_____.
Hint
Leftover error.
Answer
residual
- 44Simple linear regression models the relationship between one independent variable and the dependent variable as a_____line.
Hint
Linear equation.
Answer
straight
- 45One assumption of linear regression is that the relationship between features and target is_____.
Hint
A straight-line pattern.
Answer
linear
- 46Another assumption of linear regression is that residuals are_____distributed.
Hint
Bell-shaped curve.
Answer
normally
- 47Homoscedasticity means the variance of_____is constant across all levels of the independent variables.
Hint
Spread of errors.
Answer
residuals
- 48Mean Absolute Error (MAE) averages the_____differences between predicted and actual values.
Hint
Magnitude without sign.
Answer
absolute
- 49Mean Squared Error (MSE) averages the_____differences between predicted and actual values.
Hint
Square the error.
Answer
squared
- 50Root Mean Squared Error (RMSE) is the square root of_____.
Hint
It brings the unit back to the original scale.
Answer
MSE
- 51R-squared measures the proportion of variance in the target that is_____by the model.
Hint
How much the model captures.
Answer
explained
- 52In K-means clustering, the initial points chosen as cluster centers are called_____.
Hint
Centers of clusters.
Answer
centroids
- 53The step in K-means where each point is assigned to the nearest centroid is called the_____step.
Hint
Predicting cluster membership.
Answer
expectation
- 54The step in K-means where centroids are recalculated as the mean of assigned points is called the_____step.
Hint
Updating parameters.
Answer
maximization
- 55Principal Component Analysis (PCA) is a_____reduction technique.
Hint
Reducing number of features.
Answer
dimensionality
- 56PCA finds directions of maximum_____in the data.
Hint
Spread of points.
Answer
variance
- 57The first principal component is the direction that maximizes the variance of the projected data, and subsequent components are orthogonal and capture the remaining_____.
Hint
What's left after previous components.
Answer
variance
- 58In PCA, we can either maximize the variance or minimize the_____residuals when projecting points onto the component.
Hint
Perpendicular distance from point to line.
Answer
projection
- 59The MAGIC gamma telescope dataset is used for_____classification between gamma particles and hadrons.
Hint
Two classes.
Answer
binary
- 60In the MAGIC dataset, after one-hot encoding, gamma (G) was mapped to 1 and hadron (H) was mapped to_____.
Hint
The numerical value for 'false' in the conversion.
Answer
0
- 61To handle class imbalance in the MAGIC dataset,_____was used to increase the number of hadron samples.
Hint
Adding more of the minority class.
Answer
oversampling
- 62In the linear regression example with temperature predicting bike count, the coefficient of determination R-squared was around_____.
Hint
A value between 0 and 1.
Answer
0.38
- 63The seeds dataset contains geometric parameters of wheat kernels from_____different varieties.
Hint
K-means uses this many clusters.
Answer
three
- 64In the seeds dataset clustering example, K-means with K=_____was used because there are three varieties.
Hint
Number of clusters equals number of wheat types.
Answer
3
- 65After PCA, the transformed seeds dataset had_____dimensions, reduced from seven.
Hint
Number of principal components chosen.
Answer
2

Ask anything
We've read this whole study set, so questions about it get the best answers.