100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

CECS 456 Midterm 2 Exam Questions And Answers 100% Correct Verified Guaranteed Answers.

Beoordeling
-
Verkocht
-
Pagina's
4
Cijfer
A+
Geüpload op
15-04-2025
Geschreven in
2024/2025

For the following code: model = Sequential([ Dense(units=25, activations="sigmoid"), Dense(units=15, activations="sigmoid"), Dense(units=10, activations="sigmoid"), Dense(units=1, activations="sigmoid")]) This code will define a neural network with how many layers? A) 3 B) 5 C) 4 D) 25 - correct answer C) 4 Which of the following is true: A) w^[4]_3 is the column vector of parameters of the third layer and fourth neuron B) a^[2]_3 denotes the activation vector of the second layer for the third example C) a^[2] denotes the activation vector of the second layer D) w^[4]_3 is the row vector of parameters of the fourth layer and third neuron - correct answer C) a^[2] denotes the activation vector of the second layer Image 1: What are the dimensions of Z^[1] and A^[1]? A) (4,1 ) B) (4, m) C) (4,2) D) (1,4) - correct answer C) (4,2) The use of the ReLU activation function is becoming more rare because the ReLU function has no derivative for c = 0. A) True B) False - correct answer B) False In which of the following cases in the linear (identity) activation function most likely used? A) for binary classification problems B) the linear activation function is never used C) as activation function in the hidden layers D) when working with regression problems - correct answer D) when working with regression problems Image 2: For the multiclass classification, the recommended way to implement softmax regression is to set from_logits=True in the loss function, and also to define the model's output layer with... A) a 'linear' activation B) a 'softmax' activation - correct answer A) a 'linear' activation Image 3: For which type of task would you use the binary cross entropy loss function? A) BinaryCrossentropy() should not be used for any task B) binary classification (classification with exactly 2 classes) C) regression tasks (tasks that predict a number) D) a classification task that has 3 or more classes (categories) - correct answer B) binary classification (classification with exactly 2 classes) Image 4: For the task of predicting housing prices, which activation functions could you choose for the output layer? Choose 2 options that apply. A) linear B) sigmoid C) ReLU - correct answer A) linear C) ReLU Which of the following activation functions is the most common choice for the hidden layers of a neural network? A) most hidden layers do not use any activation function B) sigmoid C) ReLU (rectified linear unit) D) Linear - correct answer C) ReLU (rectified linear unit) In the context of machine learning, what is a diagnostic? A) this refers to the process of measuring how well a learning algorithm does on a test set (data that the algorithm was not trained on). B) a test that you run to gain insight into what is/isn't working with a learning algorithm C) a process by which we quickly try to as many different ways to improve an algorithm as possible, so as to see what works D) an application of machine learning to medical applications, with the goal of diagnosing patients' conditions - correct answer B) a test that you run to gain insight into what is/isn't working with a learning algorithm It is always true that the better an algorithm does on the training set, the better it will do on generalizing to new data

Meer zien Lees minder
Instelling
REU 2410
Vak
REU 2410








Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
REU 2410
Vak
REU 2410

Documentinformatie

Geüpload op
15 april 2025
Aantal pagina's
4
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

CECS 456 Midterm 2
For the following code:

model = Sequential([

Dense(units=25, activations="sigmoid"),

Dense(units=15, activations="sigmoid"),

Dense(units=10, activations="sigmoid"),

Dense(units=1, activations="sigmoid")])

This code will define a neural network with how many layers?



A) 3

B) 5

C) 4

D) 25 - correct answer C) 4



Which of the following is true:



A) w^[4]_3 is the column vector of parameters of the third layer and fourth neuron

B) a^[2]_3 denotes the activation vector of the second layer for the third example

C) a^[2] denotes the activation vector of the second layer

D) w^[4]_3 is the row vector of parameters of the fourth layer and third neuron - correct answer C)
a^[2] denotes the activation vector of the second layer



Image 1: What are the dimensions of Z^[1] and A^[1]?



A) (4,1 )

B) (4, m)

C) (4,2)

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Rechga Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
14
Lid sinds
1 jaar
Aantal volgers
2
Documenten
2232
Laatst verkocht
1 maand geleden

5,0

10 beoordelingen

5
10
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen