Skip to content

Commit dd92104

Browse files
authored
Update ReLU.m
1 parent b4cadaf commit dd92104

File tree

1 file changed

+3
-1
lines changed
  • algorithms/machine_learning/Activation Functions

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
12
%ReLU function
3+
24
x = -10:0.01:10;
35
y = x;
46
y(x<0) = 0;
57
plot(x,y);
68
xlabel('x');
79
ylabel('y');
810
grid on
9-
© 2020 GitHub, Inc.
11+

0 commit comments

Comments
 (0)