1
0
Fork 0

data update

This commit is contained in:
Alejandro Moreo Fernandez 2021-11-02 11:06:06 +01:00
parent 5f15b365fe
commit de58849bb6
1 changed files with 3 additions and 3 deletions

View File

@ -193,11 +193,11 @@ def evaluate_submission(true_prevs: ResultSubmission, predicted_prevs: ResultSub
# r.add(f'dev_sample_{i}.txt', np.asarray([0.5, 0.5])) # r.add(f'dev_sample_{i}.txt', np.asarray([0.5, 0.5]))
# r.dump('./path.csv') # r.dump('./path.csv')
r = ResultSubmission.load('./data/T1A/public/dummy_submission.csv') # r = ResultSubmission.load('./data/T1A/public/dummy_submission.csv')
t = ResultSubmission.load('./data/T1A/public/dummy_submission (copy).csv') # t = ResultSubmission.load('./data/T1A/public/dummy_submission (copy).csv')
# print(r.df) # print(r.df)
# print(r.get('dev_sample_10.txt')) # print(r.get('dev_sample_10.txt'))
print(evaluate_submission(r, t)) # print(evaluate_submission(r, t))
# s = ResultSubmission.load('./data/T1A/public/dummy_submission.csv') # s = ResultSubmission.load('./data/T1A/public/dummy_submission.csv')
# #