Skip to content

Commit 0916268

Browse files
committed
Compute accuracy after feature selection using PSO
1 parent 5194602 commit 0916268

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Algorithms/Searching/PSO Feature Selection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,5 @@ def pso_calculate(f_count, df):
286286
print(fitness_best_g)
287287
cm_2 = confusion_matrix(y_actual, y_predict)
288288
sns.heatmap(cm_2,annot=True,fmt="d")
289+
290+
pso_calculate(30,df)

0 commit comments

Comments
 (0)