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
10 questions
Classification

Quiz
•
University
11 questions
Linear Regression

Quiz
•
University
10 questions
Differentiability

Quiz
•
11th Grade - University
7 questions
Bangkit - Introduction Machine Learning

Quiz
•
University
10 questions
Preview_Scatterplots and Linear Regression

Quiz
•
University
10 questions
Mastering Linear Regression and Residual Analysis

Quiz
•
10th Grade - University
10 questions
Linear Equation Chart

Quiz
•
9th Grade - University
10 questions
Day1

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade