Skip to content

Commit 0d814c9

Browse files
authoredJul 9, 2018
Update HaChoi_2016.py
1 parent a4c9ec3 commit 0d814c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎HaChoi_2016.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def split_X(X, idx_modalities, zeros):
137137
if (len(sys.argv) > 1):
138138
data_input_file = sys.argv[1]
139139
else:
140-
data_input_file = '//storage.vpr.dcc.ufmg.br/home/projects/sensor2.0/SavedFeatures/CV_0.5/PAMAP2P.npz'
140+
data_input_file = 'data/LOSO/MHEALTH.npz'
141141

142142
tmp = np.load(data_input_file)
143143
X = tmp['X']
@@ -198,4 +198,4 @@ def split_X(X, idx_modalities, zeros):
198198
ic_f1 = st.t.interval(0.9, len(avg_f1) - 1, loc=np.mean(avg_f1), scale=st.sem(avg_f1))
199199
print('Mean Accuracy[{:.4f}] IC [{:.4f}, {:.4f}]'.format(np.mean(avg_acc), ic_acc[0], ic_acc[1]))
200200
print('Mean Recall[{:.4f}] IC [{:.4f}, {:.4f}]'.format(np.mean(avg_recall), ic_recall[0], ic_recall[1]))
201-
print('Mean F1[{:.4f}] IC [{:.4f}, {:.4f}]'.format(np.mean(avg_f1), ic_f1[0], ic_f1[1]))
201+
print('Mean F1[{:.4f}] IC [{:.4f}, {:.4f}]'.format(np.mean(avg_f1), ic_f1[0], ic_f1[1]))

0 commit comments

Comments
 (0)
Please sign in to comment.