Skip to content

Commit b300da3

Browse files
authored
Update model_components.py
1 parent afa7187 commit b300da3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Baselines/model_components.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
'''
2+
Author: Panpan Zheng
3+
Date created: 1/15/2018
4+
Python Version: 2.7
5+
'''
6+
17
import os
28
import sys
39
import numpy as np
@@ -235,4 +241,4 @@ def run_one_svm(x_test, y_test, clf, en_ae):
235241

236242
return np.array(filter(None, conf_mat.strip().split(" "))[5]).astype(float),\
237243
np.array(filter(None, conf_mat.strip().split(" "))[6]).astype(float), \
238-
np.array(filter(None, conf_mat.strip().split(" "))[7]).astype(float), acc
244+
np.array(filter(None, conf_mat.strip().split(" "))[7]).astype(float), acc

0 commit comments

Comments
 (0)