更新 function.py
Gitea Actions Test / Challenge-Actions (push) Successful in 44s

This commit is contained in:
77
2024-12-27 14:43:45 +08:00
parent 3d6b2adf1a
commit f4edd247e2
+5 -4
View File
@@ -1,13 +1,14 @@
id = "202210423201"
name = "陈瑞琪祥"
import numpy as np
from sklearn.svm import SVC
from sklearn.model_selection import train_test_split
from sklearn.metrics import classification_report, accuracy_score
from sklearn.preprocessing import StandardScaler
id = "202210423201"
name = "陈瑞琪祥"
# 数据加载函数
def load_data(filepath):
data = []