Hope you are safe.
I need to know how to deal with dummies in neural networks?
For instance if I have 3 dummy variables, Can I add 3 more inputs with values like [0, 0, 1] ?
Thank you in advance.
In the way you have phrased it, I don’t think so. Could you please show an example so I can be sure what you mean?
Well …I have 6 inputs, 3 of them are numerical [continuous] and 3 are categorical…I have no problem with numerical ones but, how can I deal with categorical inputs?
Hi Hady, you could simply use the built in pandas method ‘get dummies’. Here’s the documentation: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.get_dummies.html .It will split you data into dummies accordingly. Just make sure to drop one of them (drop_first=True). Best, Iliya