File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,10 @@ sf_idx = FS.sf;
114114Acc = 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;
145148Acc = 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
You can’t perform that action at this time.
0 commit comments