Page 1 of 1

Normalization

Posted: Sun 7. Apr 2013, 19:09
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.

Re: Normalization

Posted: Mon 8. Apr 2013, 06:55
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

Re: Normalization

Posted: Tue 9. Apr 2013, 13:46
by klubow
So it is rather scaling.

Thank you for your prompt answer