I’m new to machine learning and am a bit confused about how to create a neural network (multilayer perceptron) with a specific design.
I would like to create a neural network with 40 features/neurones in input layer, 2 hidden layers each with 200 neurones and sigmoid activation function then one neurone in output layer to predict a scalar.
Should I use NetChain and then have the layers:
LinearLayer[{40,200}],ElementwiseLayer[LogisticSigmoid],LinearLayer[{200,200}], ElementwiseLayer[LogisticSigmoid],LinearLayer[{200,1}]
In order to produce the network I have in mind?