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

rank的计算,排序后,找到根因的score分数很低 #16

Open
iamsuarez opened this issue Apr 6, 2023 · 0 comments
Open

rank的计算,排序后,找到根因的score分数很低 #16

iamsuarez opened this issue Apr 6, 2023 · 0 comments

Comments

@iamsuarez
Copy link

ret_lists.extend([
{
'rc': x[0], 'score': x[1], 'n_ele': len(x[0]), 'layer': cuboid_layer,
'rank': x[1] * self.option.score_weight - len(x[0]) * cuboid_layer
} for x in layer_ret_lists
])
rank的计算,若score_weight值不大,随着layer的增加或者根因partition组合的增多,rank值会成倍的下降,这样会冲掉score分数。这样会导致:rank排在第一,但是score分数相当的小。我试用了其他数据跑,已验证该情况。怎样处理这种现象?

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

1 participant