title: How to determine the number of layers and nodes of a neural network
body: <p>I am currently building a nn for a dataset with 387 features and 3000 samples. The outputs are 3 classes. I configured the network structure as following:</p>
  
  <p><strong>input->200->{300->100}->50->output</strong> </p>
  
  <p>Did I choose the correct number of nodes and layers? How to determine the number of nodes of each layers(input,hidden and output)? Is there any rule?</p>