You should have learned with the tutorial basic PLearn neural network. The class used is NNet.
Here is a basic NNet script object:
NNet(
nhidden = 10 ;
noutputs = 1 ;
output_transfer_func = "";
hidden_transfer_func = "tanh" ;
cost_funcs = 1 [ mse ] ;
optimizer = GradientOptimizer(
start_learning_rate = .01;
decrease_constant = 0;
)
batch_size = 1 ;
initialization_method = "normal_sqrt" ;
nstages = 500 ;
);