Creating custom Transfer Function with more learnable parameters

2 views (last 30 days)
Hello!
I actually working with deep learning toolbox.
I'm making a comparative study of the transfer functions and some of them aren´t in the toolbox, this functions that I would like to try have more learnable parameters than the weights and biases in a "classical" function. For example:
xtansig= 2./(1+exp(x*(-2*n))+1;
What functions will I have to modify to create a new transfer function that, in addition to weights and biases, also finds the "x"?

Answers (1)

Sam Chak
Sam Chak on 11 Nov 2022
Edited: Sam Chak on 11 Nov 2022
Edit: This article contains information about creating custom functions for NN.
I think there are some similarities between your function and the logistic function. Have you looked into the logsig function?
  1 Comment
Alexia Irais
Alexia Irais on 11 Nov 2022
Hello Sam.
Thank you for your answer.
I have searched in all the transfer functions that matlab has, I don't understand how I could generate the new function so that it finds more parameters :(

Sign in to comment.

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!