Intro to ML: Neural Networks Lecture 1 Part 1

Quiz
•
Computers, Mathematics, Fun
•
University
•
Hard

Josiah Wang
Used 27+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A student is trying to predict the price of cars based on the car’s features e.g. number of owners, milage, condition, brand and age. What type of problem is this?
Classification
Regression
Logistic Regression
None of the above
Answer explanation
Classification requires discrete labels. Regression predicts points along a continuous scale. Logistic regression passes the output through a sigmoid function, mapping the output between 0 and 1. This is used for binary classification.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A lawyer is trying to predict whether a particular judge will grant bail or not for a suspect. The lawyer has a dataset detailing all the cases which the judge has presided over, where the suspects features such as age, number of prior convictions and severity of crime are detailed along with whether they were granted bail or not. Which technique from the following is best suited to the problem?
Linear Regression
Logistic Regression
None of the above
Answer explanation
This is a binary classification task, therefore the sigmoid output of logistic regression (which maps outputs between 0 and 1) will suit well.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Is the following statement True or False? Gradient descent is a handy technique which allows us to use non differentiable functions/models and update them iteratively towards an optimum. If the function had been differentiable we could have simply found the exact solution to the problem by setting the derivative to 0 and rearrange to find the optimal parameters.
True
False
Answer explanation
We need to be able to differentiate the function to know which direction in the parameter space to move/step. The reason why we use gradient descent rather than finding the exact solution is that finding the exact solution requires matrix inversion which has cubic complexity.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is the following statement True or False? Within the framework of linear regression, only linear functions can be modelled.
True
False
Answer explanation
We can perform a series of transformations on our input x. For example:
where lifts the one dimensional space into a K dimensional space, a common example of this is detailed below. Through this, polynomials of degree K-1 can be modelled.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following can be used to evaluate the performance of a linear regression model?
ROC-AUC
Accuracy
Log loss
Mean squared error
Answer explanation
Log loss is a measure of how close the model's predicted probability of a class is to the true value/label. ROC-AUC is a measure of the degree to which a model can distinguish between two classes. Accuracy is the degree to which the predicted classes match the true classes. Only mean squared error from these options can be applied to a regression task. Mean squared error is the expected distance between the models predictions and the true values.
6.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
Answer explanation
Similar Resources on Wayground
11 questions
Strong and Weak Residual Plots

Quiz
•
11th Grade - University
8 questions
Linear Regression MARK1109

Quiz
•
University
10 questions
Linear Correlations

Quiz
•
12th Grade - University
8 questions
SQL Bits

Quiz
•
University - Professi...
10 questions
Foundations of Math Functions Review

Quiz
•
9th Grade - University
5 questions
Transformations to Achieve Linearity

Quiz
•
10th Grade - University
10 questions
MPB Week 6

Quiz
•
University
11 questions
Equation of Line Using Linear Regression

Quiz
•
University
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
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University