Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

QMB Final Exam Questions with Correct Solutions

Document preview thumbnail
Preview 2 out of 7 pages

QMB Final Exam Questions with Correct Solutions

Content preview

QMB Final Exam



Week 8) Regression - Answer-Trying to find relationship between to variables X and Y



The basic idea of a regression is very simple. We have some X values we called these ___________ and
some Y value this is the variable we are trying to ________ . We could have multiple Y values, but that is
not something we have covered. - Answer-X values called features, and Y values trying to predict



Y and Y-hat are a little different. Y is our target vector, and y-hat is an output in our model that is a..... -
Answer-estimate or prediction of Y



When looking at the code in the videos, we sometimes used a variable to hold our model.

What is the significance of the word "model" in the below code?



model = LinearRegression(fit_intercept=True) - Answer-'model' is a named variable and is just holding
our linear regression model. It could be renamed anything. The word itself is not important. It is just a
container.



What is a good model fit value? - Answer-Unknowable without knowing/understanding the context and
the domain.

, Which of the below were discussed as being problems with the hold out method for validation? -
Answer--Outliers can skew the results



-The model is not trained on all of the day



What is hold out validation? - Answer-The holdout method is the simplest kind of cross validation. The
data set is separated into two sets, called the training set and the testing set. The function approximator
fits a function using the training set only.



Week 9) What is the first variable in a decision tree called (before any of the branches)? - Answer-Root



One problem with a decision tree is that you are prone to ___________ if you are not careful or do not
set the __________ appropriately. - Answer-Overfitting; Max Depth



What is a random forest? - Answer-A random forest is simply a collection of decision trees whose results
are aggregated into one final result.



The random forest algorithm prevents, or at least avoids to some extent, the problems with overfitting
found in decision trees. T/F - Answer-True



Random Forests can only be used on classification problems. T/F - Answer-False (Random forests has
application in regression and classification.)



-Random forest can handle both regression and classification tasks with a high degree of accuracy,



In order to interpret Decision Tree's it is necessary to first run a linear regression. T/F - Answer-False



Decision tree's are nice because they are fairly simple and straightforward to interpret. T/F - Answer-
True

Document information

Uploaded on
March 19, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$14.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Zanaya
4.5
(12)
Sold
77
Followers
29
Items
10176
Last sold
1 day ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions