feat: pin test item num

This commit is contained in:
2024-10-25 23:23:33 +08:00
parent 826a2a1959
commit fc59f4f1d8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ def evaluate_knn(
- float: 分类准确率。
"""
correct = 0
total = len(test_data)
total = 100 # kNN 挑战赛测试样本数
temp_log_details = []
try:
+1 -1
View File
@@ -56,7 +56,7 @@ def evaluate_knn(
- float: 分类准确率。
"""
correct = 0
total = len(test_data)
total = 946 # kNN 实验测试样本数
temp_log_details = []
try:
+1 -1
View File
@@ -63,7 +63,7 @@ def evaluate_logreg(
- float: 分类准确率。
"""
correct = 0
total = len(test_data)
total = 68 # LogReg 测试样本数
temp_log_details = []
try: