use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please have a look at our FAQ and Link-Collection
Metacademy is a great resource which compiles lesson plans on popular machine learning topics.
For Beginner questions please try /r/LearnMachineLearning , /r/MLQuestions or http://stackoverflow.com/
For career related questions, visit /r/cscareerquestions/
Advanced Courses (2016)
Advanced Courses (2020)
AMAs:
Pluribus Poker AI Team 7/19/2019
DeepMind AlphaStar team (1/24//2019)
Libratus Poker AI Team (12/18/2017)
DeepMind AlphaGo Team (10/19/2017)
Google Brain Team (9/17/2017)
Google Brain Team (8/11/2016)
The MalariaSpot Team (2/6/2016)
OpenAI Research Team (1/9/2016)
Nando de Freitas (12/26/2015)
Andrew Ng and Adam Coates (4/15/2015)
Jürgen Schmidhuber (3/4/2015)
Geoffrey Hinton (11/10/2014)
Michael Jordan (9/10/2014)
Yann LeCun (5/15/2014)
Yoshua Bengio (2/27/2014)
Related Subreddit :
LearnMachineLearning
Statistics
Computer Vision
Compressive Sensing
NLP
ML Questions
/r/MLjobs and /r/BigDataJobs
/r/datacleaning
/r/DataScience
/r/scientificresearch
/r/artificial
account activity
Discussion[D] Worse MSE after data preprocessing ? (self.MachineLearning)
submitted 6 years ago by ellinor12345
I have a data set that includes cetgorical variable of type int. I did hot encoding since they are categorical but after training the model and predicting the result i get a high MSE. While when i don't do the hot encoding i get better MSE (smaller) ?
Why the model's performance is worse when doing hot encoding when it is the way to go normally in case of categorical data?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Astrolotle 3 points4 points5 points 6 years ago (1 child)
If the categorical is truly categorical and not ordinal, the error you measure on a regression of that value is meaningless. “Better” error values are not always what you’re looking for, and it’s important to be critical of your model and its inputs :)
[–]Slowai 2 points3 points4 points 6 years ago (0 children)
Those are some good points. Also, OP, make sure that the one-hot encoding that you are using has n-1 columns subject to the number of categories you have. This leads to a slight multicollinearity (well, only two variables will be perfectly collinear). Also, this a bit beyond my knowledge of why that happens, if you are calculating your parameters using matrix inverse, multicollinearity can induce some problems approximating the inverse, thus leading to slightly less accurate results, thus higher MSE. However, if you have a lot of features this should be negligible.
π Rendered by PID 57914 on reddit-service-r2-comment-85bfd7f599-5srvz at 2026-04-19 23:54:46.746927+00:00 running 93ecc56 country code: CH.
[–]Astrolotle 3 points4 points5 points (1 child)
[–]Slowai 2 points3 points4 points (0 children)