Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于SIMS数据集 #13

Open
fly-pandas opened this issue Dec 6, 2021 · 1 comment
Open

关于SIMS数据集 #13

fly-pandas opened this issue Dec 6, 2021 · 1 comment

Comments

@fly-pandas
Copy link

您好,关于您在论文中报告SIMS数据集的结果,mae和corr这两个回归指标是(neg./non-neg.)还是(neg./pos.),以及分类指标acc-2和F1值 是(neg./non-neg.) 还是 (neg./pos.)?

@XIUXIUXIUBIUA
Copy link

根据代码,acc-2,f1-score应该是 non-positive/positive,为什么和mosi、mosei的计算方式有所不同?

Self-MM/utils/metricsTop.py

Lines 135 to 142 in c4525c1

# two classes{[-1.0, 0.0], (0.0, 1.0]}
ms_2 = [-1.01, 0.0, 1.01]
test_preds_a2 = test_preds.copy()
test_truth_a2 = test_truth.copy()
for i in range(2):
test_preds_a2[np.logical_and(test_preds > ms_2[i], test_preds <= ms_2[i+1])] = i
for i in range(2):
test_truth_a2[np.logical_and(test_truth > ms_2[i], test_truth <= ms_2[i+1])] = i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants