Closed Sam4n closed 6 years ago
Hey ! You need to add your activation function to dbn/activations.py
Take a look at fit method of models.py, you can add some lines to manage your new activation function.
I think its as simple as that.
Good coding !
how to define new activation function. in library use class az activation function. please write sample :) for example:
def double_activation(x): return x * 2