How to use sigmoidal function in neural network?

Sigmoidal function=1/1+e^-aI, a = slope parameter I = ({WiXi + bias) {- summation

Answers (1)

In general
1. Transform inputs to [-1,1]
2. For regression/curvefitting
a. Transform targets to [-1,1]
b. Use the code in help (or doc) fitnet
3. For classification/patternrecognition
a. Transform targets to [0,1]
b. Use the code in help (or doc) patternnet
Hope this helps.
Greg

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Asked:

on 2 Feb 2018

Edited:

on 3 Feb 2018

Community Treasure Hunt

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

Start Hunting!