We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51e83b commit 79774e7Copy full SHA for 79774e7
algorithms/machine_learning/Activation Functions/ELU.m
@@ -0,0 +1,8 @@
1
+%ELU function
2
+x = -10:0.01:10;
3
+a = input('Enter the parameter');
4
+y = @(x) (a*(exp(x)-1)).*((x < 0)) + (x).*((x > 0)) ;
5
+fplot(y);
6
+xlabel('x');
7
+ylabel('y');
8
+grid on
0 commit comments