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

m/z and intensity embedding #394

Closed
DawnJYe opened this issue Oct 24, 2024 · 3 comments
Closed

m/z and intensity embedding #394

DawnJYe opened this issue Oct 24, 2024 · 3 comments
Labels
question Further information is requested

Comments

@DawnJYe
Copy link

DawnJYe commented Oct 24, 2024

m/z and intensity are embedded to yield peak embedding by FloatEncoder in depthcharge,both are sinusoidal embedding.But in your paper,m/z and intensity are embedded separately,and intensity is embedded through a linear layer.So which way do you do it?

@wfondrie
Copy link
Collaborator

Hi @XiaojieGan - the published versions of Casanovo using a sinusoidal embedding for the m/z values and a linear projection for the intensity values. However, in more recent versions of the underlying library, Depthcharge, I've switched to using a second sinusoidal embedding as you noted.

#350 Is the PR upgrading to this new version of Depthcharge.

@DawnJYe
Copy link
Author

DawnJYe commented Oct 24, 2024

Thanks for your answer.So you embedded both m/z and intensity by sinusoidal embedding in your implementation.I‘d like to take this approach,but I don't know it's effect.

@DawnJYe
Copy link
Author

DawnJYe commented Oct 28, 2024

Hi @XiaojieGan - the published versions of Casanovo using a sinusoidal embedding for the m/z values and a linear projection for the intensity values. However, in more recent versions of the underlying library, Depthcharge, I've switched to using a second sinusoidal embedding as you noted.

#350 Is the PR upgrading to this new version of Depthcharge.

In your ablation experiment,there are a variety of approaches to be mentioned. "Sinusoidal I embedding",intensity is embedded by sinusoidal embedding. But "Standard Casanovo" using a linear projection for the intensity,how did you do it?

@bittremieux bittremieux added the question Further information is requested label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants