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

Global_score #106

Open
zjlclimb opened this issue May 7, 2024 · 1 comment
Open

Global_score #106

zjlclimb opened this issue May 7, 2024 · 1 comment

Comments

@zjlclimb
Copy link

zjlclimb commented May 7, 2024

Does anyone know the mathematical meaning of global_score?

@matteoferla
Copy link

As far as I can tell, average loss values of the whole protein.
there are two scores, score and global_score in the output —the codebase has a native_score. The scores are a negative log likelihood for the loss function (one line in sup info).
They are calculated ( https://github.com/dauparas/ProteinMPNN/blob/main/protein_mpnn_utils.py#L39) using torch.nn.NLLLoss. That means low is good —so like the score in a golf game not a football, cricket etc game.
While high seq_recovery is good.

score --> arithmetic mean of the losses masked for design
global_score --> arithmetic mean of all losses (design+native)

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