Submitted by AutoModerator t3_z07o4c in MachineLearning
pretty19 t1_ix9gbuu wrote
I am doing machine learning modelling on Black Friday sales predictions data which has all independent variables as categorical and dependent variable as continuous which also needs to be predicted. I am wondering for such data ( when all independent variables are categorical) is Linear Regression suitable? Thanks.
trnka t1_ixevsqx wrote
Linear regression is a good place to start -- it trains quickly and works well with small amounts of data. Categorical inputs aren't a problem; one-hot encoding will learn weights for each value.
That said, linear regression isn't always best, and it depends on your data.
Viewing a single comment thread. View all comments