Skip to content

Commit 55acb34

Browse files
authored
Update README.md
1 parent 811d846 commit 55acb34

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ sf_idx = FS.sf;
114114
Acc = jknn(feat(:,sf_idx),label,opts);
115115
116116
% Plot convergence
117-
plot(FS.c); grid on; xlabel('Number of Iterations'); ylabel('Fitness Value'); title('SMA');
117+
plot(FS.c); grid on;
118+
xlabel('Number of Iterations');
119+
ylabel('Fitness Value');
120+
title('SMA');
118121
```
119122

120123
### Example 3 : Whale Optimization Algorithm ( WOA )
@@ -145,7 +148,10 @@ sf_idx = FS.sf;
145148
Acc = jknn(feat(:,sf_idx),label,opts);
146149
147150
% Plot convergence
148-
plot(FS.c); grid on; xlabel('Number of Iterations'); ylabel('Fitness Value'); title('WOA');
151+
plot(FS.c); grid on;
152+
xlabel('Number of Iterations');
153+
ylabel('Fitness Value');
154+
title('WOA');
149155
```
150156

151157

0 commit comments

Comments
 (0)