Normalization

Have specific questions about how to work with certain MemBrain features? Not sure about which checkbox in MemBrain has which effects? Want to know if a certain functionality is available in MemBrain or not?

Your questions will be appreciated here!
Post Reply
klubow
Posts: 14
Joined: Thu 31. May 2012, 13:16

Normalization

Post by klubow »

I'd like to ask about the feature in Membrain called normalization.
Is it normalization or rather scaling ?

Over there exist many names, best answer would be its formula.
User avatar
TJetter
Posts: 346
Joined: Sat 13. Oct 2012, 12:04

Re: Normalization

Post by TJetter »

klubow wrote:Over there exist many names, best answer would be its formula.
There you are:

Code: Select all

    double actHi = 1;
    double actLo;
    if ((mActFunction == AF_IDENTICAL) || (mActFunction == AF_TAN_H) ||
        (mActFunction == AF_MIN_EUCLID_DIST))
    {
        actLo = -1;
    }
    else
    {
        actLo = 0;
    }
    double m = (actHi - actLo) / (mNormHi - mNormLo);
    double c = actLo - m * mNormLo;

    return (m * value + c);
The variables mNormHi and mNormLow are the user adjusted normalization values. 'value' is the user input value.
What is returned is the MemBrain internal normalized activation for the neuron.

Does that help?

Regards
Thomas Jetter
klubow
Posts: 14
Joined: Thu 31. May 2012, 13:16

Re: Normalization

Post by klubow »

So it is rather scaling.

Thank you for your prompt answer
Post Reply