Linear regression analysis with string/categorical features (variables)?
Yes, you will have to convert everything to numbers. That requires thinking about what these attributes represent. Usually there are three possibilities: One-Hot encoding for categorical data Arbitrary numbers for ordinal data Use something like group means for categorical data (e. g. mean prices for city districts). You have to be carefull to not infuse … Read more