QMB3302 Practice Final Exam ACTUAL
QUESTIONS AND CORRECT ANSWERS
- Pipelines are useful (in the analytics with Python sense) for the
following reasons? - CORRECT ANSWERS Pipelines help
organize the code you used to clean and treat your data.
Pipelines make it very easy to change small things in your model, like
which variables to include.
Pipelines make it easy to repeat/replicate steps and run multiple
models.
The basic idea of a regression is very simple. We have some X values
(we call 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. - CORRECT ANSWERS
features; 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 ..... - CORRECT ANSWERS
estimate or prediction of y
When looking at the code in the videos, we sometimes use a variable
to hold our model. What is the significance of the word "model" in the
below code?
model= LinearRegression(fit_intercept=True) - CORRECT
ANSWERS 'model' is a named variable and is just holding our
linear regression model. It could be named anything. The word itself
is not important. It is just a container.
, What is a good model fit value? - CORRECT ANSWERS
Unknowable without knowing/understanding the context and
the domain.
Imagine X in the below is a missing value. If I were to run a median
imputer on this set of data what would the return value be?
50,60,70,80,100,60,5000, X - CORRECT ANSWERS 70
Which of the below were discussed as being problems with the hold
out method for validation? - CORRECT ANSWERS Outliers
can skew the result & the model is not trained on all of the data.
The features in a model.... - CORRECT ANSWERS none of
the answers are correct:
are used as proxies for y-hat/y (that is yhat divided by y)
are always functions of each other
keep the model validation process stable
What is the first variable in a decision tree called (before any of the
branches)? - CORRECT ANSWERS Root
One problem with decision trees is that they are prone to ________ if
you are not careful or do not set the ________ appropriately. -
CORRECT ANSWERS overfitting; max depth
QUESTIONS AND CORRECT ANSWERS
- Pipelines are useful (in the analytics with Python sense) for the
following reasons? - CORRECT ANSWERS Pipelines help
organize the code you used to clean and treat your data.
Pipelines make it very easy to change small things in your model, like
which variables to include.
Pipelines make it easy to repeat/replicate steps and run multiple
models.
The basic idea of a regression is very simple. We have some X values
(we call 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. - CORRECT ANSWERS
features; 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 ..... - CORRECT ANSWERS
estimate or prediction of y
When looking at the code in the videos, we sometimes use a variable
to hold our model. What is the significance of the word "model" in the
below code?
model= LinearRegression(fit_intercept=True) - CORRECT
ANSWERS 'model' is a named variable and is just holding our
linear regression model. It could be named anything. The word itself
is not important. It is just a container.
, What is a good model fit value? - CORRECT ANSWERS
Unknowable without knowing/understanding the context and
the domain.
Imagine X in the below is a missing value. If I were to run a median
imputer on this set of data what would the return value be?
50,60,70,80,100,60,5000, X - CORRECT ANSWERS 70
Which of the below were discussed as being problems with the hold
out method for validation? - CORRECT ANSWERS Outliers
can skew the result & the model is not trained on all of the data.
The features in a model.... - CORRECT ANSWERS none of
the answers are correct:
are used as proxies for y-hat/y (that is yhat divided by y)
are always functions of each other
keep the model validation process stable
What is the first variable in a decision tree called (before any of the
branches)? - CORRECT ANSWERS Root
One problem with decision trees is that they are prone to ________ if
you are not careful or do not set the ________ appropriately. -
CORRECT ANSWERS overfitting; max depth