feat: pin test item num
This commit is contained in:
@@ -57,7 +57,7 @@ def evaluate_knn(
|
||||
- float: 分类准确率。
|
||||
"""
|
||||
correct = 0
|
||||
total = len(test_data)
|
||||
total = 100 # kNN 挑战赛测试样本数
|
||||
temp_log_details = []
|
||||
|
||||
try:
|
||||
|
||||
@@ -56,7 +56,7 @@ def evaluate_knn(
|
||||
- float: 分类准确率。
|
||||
"""
|
||||
correct = 0
|
||||
total = len(test_data)
|
||||
total = 946 # kNN 实验测试样本数
|
||||
temp_log_details = []
|
||||
|
||||
try:
|
||||
|
||||
@@ -63,7 +63,7 @@ def evaluate_logreg(
|
||||
- float: 分类准确率。
|
||||
"""
|
||||
correct = 0
|
||||
total = len(test_data)
|
||||
total = 68 # LogReg 测试样本数
|
||||
temp_log_details = []
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user