3
$\begingroup$

I am working on a problem with 4 inputs and 1 continuous output variable. The sum of all values of the 4 input variables is always 1.

a1+a2+a3+a4=1

So, they are correlated.

My question is: should I use all 4 variables for neural network training? Or, should I use any 3 of them to get rid of correlation? Is there any problem if I use all 4?

$\endgroup$
3
  • $\begingroup$ How about this answer at stats.stackexchange? stats.stackexchange.com/questions/232534/… $\endgroup$ May 18, 2018 at 7:18
  • $\begingroup$ So, according to this answer, I can use all 4 inputs without any problem. That is ok. But do I get the same answer if I use only 3 of them? $\endgroup$ May 18, 2018 at 7:51
  • $\begingroup$ Well, how are you going to choose three of four variables? Something like PCA? If yes do try, but you need some sort of way of selecting the subset of features, or maybe random subsampling of features? I would first take all and closely observe the validation curve and do some regularizations first! $\endgroup$ May 18, 2018 at 8:46

1 Answer 1

2
$\begingroup$

You could try some feature selection techniques if you want to choose 3.

That said, have you tested the data for multicollinearity? Maybe you have but I don't think that a1+a2+a3+a4=1 implies a high degree of correlation.

To answer your question though, it really doesn't hurt to try and train a neural net with the four variables. If one of the inputs is unnecessary, the NN training may well set the weight on one to close to zero without you having to choose one.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.