matlab - Training neural network tips -


The object is proposed for validation that I want to use a neural network in MATLAB. I have 30 objects and 20 images for each object, so I have 600 input data and 20 different classes I input matrix is ​​100x600 and the target is 1x600. The input matrix column is a histogram of 100 compartments like the keypoint 'hu': (m, n) = hist (hue_val, 100) i got m .
If I have chosen the MLP network then how many layers and neurons are required for those layers, which are the appropriate functions for each layer?

And for the last question, do I want negative samples?

  • Number of layers - usually a hidden layer is sufficient (for so long Using your non-linear activation function) One can guess an arbitrary number of layer layers.
  • Function Transfer - I have not been used for this word, but I think your activation function (which you do on the net input before passing it on the next layer). I answered a slight type of question, but it has been said that in most cases a standard option like hyperbolic tangent or logistic work.
  • Number of neurons in your hidden layer - Crudrichzo Link provided it very well in the field. What I can really add is that with the input size, maybe at the training time I would be very much of this quantity. Negative specimens - If you only need to classify one of the 30 items, then negative sample is not required. But, if a test input of 30 objects can be any , then definitely use many negative examples so that the network does not believe everything is an object.

    Some Common Tips:

    Remember to consider leaving one-out and similar forms as a way of dealing with over-fighting. It also limits the unit calculation of your hidden layer, but at the expense of the richness of representation.

    The other parameters you specify are also very important for any successful ANN application. This includes learning rates, error functions, annealing schedule, speed and weight loss. Setting all of these above is more than an art than science (one of the best arguments against using ANN vs. support vector machines), but this is a boon for me in this area.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -