Home
Flashcards
Preview
Big Data: week 5
Home
Get App
Take Quiz
Create
What function is helpful for creating
categorical predictors
?
get_dummies()
from pandas
What is the idea for cross-validation?
Instead of splitting it once, we could split the data multiple ways and average the results!
What is a common way to use cross validation?
Common forms for cross validation are 5-fold or 10-fold to assess a predictive model
How can you plot categorical variables with different slopes?
create an interaction!
If your categorical variable has more than two categories, how do you define the additional variables?
Main effect
The
main effect
for two predictors fits the best plane through the data
How do you include categorical variables in a multiple regression model?
can also include categorical variables through dummy or indicator variables
Interaction effects
Interaction effects allow for the effect of one variable to depend on the value of another
Author
saucyocelot
ID
361297
Card Set
Big Data: week 5
Description
Week 5: modeling
Updated
2023-09-26T03:22:27Z
Show Answers
Home
Flashcards
Preview