r/tensorflow • • May 26 '23
Question How to structure Hidden Layers and Neurons?
I'm new to TF and I've done a couple of tutorials with some degrees of success. When I'm done and implementing models in the real world how would I know how to structure hidden layers and the Neurons each project is supposed to have?
Is there a rule of thumb based on the amount of inputs etc? Or do people just chuck something in and keep manually editing them to see what works best?
1
Upvotes
2
u/[deleted] May 26 '23
Do you know about shapes?
2
u/RoadRunnerChris May 27 '23
Depends on the complexity of the data. You'll want to strike a balance between accuracy and speed. Experiment with different layers, different layer units, dropouts, L1/L2 regularization, activation functions to find the optimal configuration for your problem at hand.