Skip to content

Commit 9e7c90b

Browse files
authored
Merge pull request #35 from Yukti-09/patch-3
Create ReLU.m
2 parents 6553041 + dd92104 commit 9e7c90b

File tree

1 file changed

+11
-0
lines changed
  • algorithms/machine_learning/Activation Functions

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
%ReLU function
3+
4+
x = -10:0.01:10;
5+
y = x;
6+
y(x<0) = 0;
7+
plot(x,y);
8+
xlabel('x');
9+
ylabel('y');
10+
grid on
11+

0 commit comments

Comments
 (0)