diff --git a/20220401_959.jpg b/20220401_959.jpg index 2483f82..89376cb 100644 Binary files a/20220401_959.jpg and b/20220401_959.jpg differ diff --git a/config.json b/config.json new file mode 100644 index 0000000..2a8951c --- /dev/null +++ b/config.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64a37e6f26e92a57ebc5438ed76d65c73de5105f7928b3733d77bc7faa106dd1 +size 71584 diff --git a/flax_model.msgpack b/flax_model.msgpack index ef54d59..c9b8f23 100644 --- a/flax_model.msgpack +++ b/flax_model.msgpack @@ -1,3 +1,3 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1dba0174a596673117b14b7b97d27bbfef1928a94377b18b4cb849b9c8569b90 -size 102450913 +version https://git-lfs.github.com/spec/v1 +oid sha256:1dba0174a596673117b14b7b97d27bbfef1928a94377b18b4cb849b9c8569b90 +size 102450913 diff --git a/hpo.py b/hpo.py index 9130867..1b79935 100644 --- a/hpo.py +++ b/hpo.py @@ -1,31 +1,3 @@ -from sklearn.datasets import load_iris -from sklearn.model_selection import train_test_split -from sklearn.svm import SVC -import argparse - -# 加载数据集 -iris = load_iris() -X = iris.data -y = iris.target - -# 划分数据集 -X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42) - -# 参数解析 -parser = argparse.ArgumentParser(description='SVM Model for Iris dataset') -parser.add_argument('--C', type=float, default=1.0, help='Regularization parameter') -parser.add_argument('--kernel', type=str, default='rbf', help='Kernel type') -parser.add_argument('--gamma', type=float, default='scale', help='Kernel coefficient') - -args = parser.parse_args() - -# 定义支持向量机模型并设置参数 -svm = SVC(C=args.C, kernel=args.kernel, gamma=args.gamma) - -# 在训练集上拟合模型 -svm.fit(X_train, y_train) - -# 输出模型在测试集上的准确率 -test_accuracy = svm.score(X_test, y_test) -print(f"Accuracy={test_accuracy}") - +version https://git-lfs.github.com/spec/v1 +oid sha256:77e5d86a5d348aa6d305d7a49bd0fc4399b7261f612268fdd21b5e2c2a1e830b +size 994 diff --git a/model.safetensors b/model.safetensors index ca83e05..e4ee4cd 100644 --- a/model.safetensors +++ b/model.safetensors @@ -1,3 +1,3 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c6061af1f450bb0847e529fd742aa5066017be379c71bbf5546b198e5b13a1e -size 102482854 +version https://git-lfs.github.com/spec/v1 +oid sha256:9c6061af1f450bb0847e529fd742aa5066017be379c71bbf5546b198e5b13a1e +size 102482854 diff --git a/pytorch_model.bin b/pytorch_model.bin index cb04bcb..7572107 100644 --- a/pytorch_model.bin +++ b/pytorch_model.bin @@ -1,3 +1,3 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff8163a1323333126706d649ce73ecd76e45d241b42d623dea6c723690cafe07 -size 102567489 +version https://git-lfs.github.com/spec/v1 +oid sha256:ff8163a1323333126706d649ce73ecd76e45d241b42d623dea6c723690cafe07 +size 102567489 diff --git a/tf_model.h5 b/tf_model.h5 index 87d844f..6dd46cc 100644 --- a/tf_model.h5 +++ b/tf_model.h5 @@ -1,3 +1,3 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:57afa67ca9f9aa1657f38f100f8e5c7fc49550dafa7226793b48dae4426f5a69 -size 102753944 +version https://git-lfs.github.com/spec/v1 +oid sha256:57afa67ca9f9aa1657f38f100f8e5c7fc49550dafa7226793b48dae4426f5a69 +size 102753944 diff --git a/高危树障20211102-924.png b/高危树障20211102-924.png index 2d242b3..f1e8fb1 100644 Binary files a/高危树障20211102-924.png and b/高危树障20211102-924.png differ