Monday 25 December 2023

Deep Learning and Reinforcement Learning Week 1 All Quiz

Practice: Introduction to Neural Networks 

1. Neural networks and Deep Learning are behind many of the AI applications that are part of our daily lives.



ANSWER= (A) True

 

2. Which one of the following is true in terms of the difference between grid search and randomized search?





ANSWER= (C) Randomized search selects random combinations of parameters to train a model, whereas grid search goes through all combinations.

 

3. This is a characteristic that neural networks and logistic regression have in common:





ANSWER= (C) the weights, inputs, and bias of neural networks are the equivalent to the coefficients, variables, and constant of a logistic regression


Practice: Optimization and Gradient Descent 

1. Select all the methods that can be used to minimize a cost function:




ANSWER= ( A) mini-batch gradient descent
(B) stochastic gradient descent
(C) batch gradient descent


 

2. How many sample(s) are used in a stochastic gradient descent?





ANSWER= (A) 1

 

3. Which method uses all the samples in one iteration to update model parameters?




ANSWER= (A) Batch gradient descent


Week 1 Finall Quiz  

1. What is another name for the “neuron” on which all neural networks are based?





ANSWER= (D) perceptron

 

2. What is an advantage of using a network of neurons?





ANSWER= (B) A network of neurons can represent a non-linear decision boundary.

 

3. A dataset with 8 features would have how many nodes in the input layer?





ANSWER= (D) 8

 

4. For a single data point, the weights between an input layer with 3 nodes and a hidden layer with 4 nodes can be represented by a:





ANSWER= (B) 3 x 4 matrix.

 

5. Use the following image for reference. How many hidden layers are in this Neural Network?

neural network






ANSWER= (A) Two

 

6. Use the following image for reference. How many hidden units are in this Neural Network?

neural network






ANSWER= (C) Eight

 

7. Which statement is TRUE about the relationship between Neural Networks and Logistic Regression?





ANSWER= (D) A single-layer Neural Network can be parameterized to generate results equivalent to Linear or Logistic Regression.

No comments:

Post a Comment

Understanding Dependency Injection in Spring: A Simple Guide

When developing applications, it is typical for one class to rely on another for proper operation. For example, an automobile need an engine...