Can neural net weights be negative?

45 vues (au cours des 30 derniers jours)
Michael
Michael le 21 Juil 2014
Réponse apportée : Michael le 21 Juil 2014
I have a question on neural net weights. My understanding is that the default is they add up to one. Can they be negative? (If they can't be negative, it seems to me I would need to make sure to make input data generally proportional to the target output. If they can be negative, then I can just let the system adapt to the proportionality.) Thanks!

Réponse acceptée

Shashank Prasanna
Shashank Prasanna le 21 Juil 2014
Weights can be whatever the training algorithm determines the weights to be. If you take the simple case of a perceptron (1 layer NN), the weights are the slope of the separating (hyper)plane, it could be positive or negative.
Take a look at some examples in the neural network toolbox:

Plus de réponses (1)

Michael
Michael le 21 Juil 2014
Thanks Shashank, I'll check it out.

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by