
Data for AI Fundamentals

Quiz
•
Computers
•
12th Grade
•
Medium

Estebelle Khong
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is supervised learning in machine learning?
Learning without labeled data
Learning with labeled data
Learning with a mix of labeled and unlabeled data
Learning from the structure of the input data
Answer explanation
Supervised learning involves training a model on a dataset that includes input-output pairs, meaning the data is labeled. The model learns to map inputs to outputs based on this labeled data.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which algorithm is commonly used for classification tasks?
Linear Regression
K-Nearest Neighbors (KNN)
K-Means Clustering
Principal Component Analysis (PCA)
Answer explanation
K-Nearest Neighbors (KNN) is a widely used algorithm for classification. It classifies a data point based on how its neighbors are classified. When a new, unlabeled instance needs to be classified, the KNN algorithm identifies the 'k' training instances that are closest to this new instance. The closeness is typically measured using distance metrics such as Euclidean distance.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is overfitting in machine learning?
When a model performs well on training data but poorly on test data
When a model performs well on both training and test data
When a model performs poorly on training data but well on test data
When a model performs poorly on both training and test data
Answer explanation
Overfitting occurs when a model learns the details and noise in the training data to an extent that it negatively impacts its performance on new, unseen data. This means the model has become too complex and specific to the training data.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which metric is used to evaluate a regression model?
Accuracy
Precision
Recall
Mean Squared Error (MSE)
Answer explanation
Mean Squared Error (MSE) is a common metric for evaluating regression models. It measures the average squared difference between the actual and predicted values, giving an idea of how well the model's predictions match the true values.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary data structure used in pandas for 2-dimensional labeled data?
Series
DataFrame
Dictionary
Array
Answer explanation
A DataFrame is a two-dimensional, size-mutable, and potentially heterogeneous tabular data structure with labeled axes (rows and columns) in pandas. It is similar to a table in a database or an Excel spreadsheet.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to display the first few rows of a pandas DataFrame?
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Access 2013 Lesson 1

Quiz
•
9th - 12th Grade
11 questions
Device and Configuration- Domain (2)

Quiz
•
9th - 12th Grade
10 questions
Cuestionario 1° y 2° Taller QGIs

Quiz
•
12th Grade
15 questions
Revision - CSV File Handling

Quiz
•
12th Grade
8 questions
Matplotlib Quiz_2

Quiz
•
12th Grade
7 questions
บทที่ 2 2.1 ม.3/2

Quiz
•
9th - 12th Grade
10 questions
Data Science 2

Quiz
•
12th Grade
15 questions
BTEC unit 2 databases - key terms

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade