Add EnsembleMF: ensembled two-tower matrix factorization - #458
Draft
PascalIversen wants to merge 2 commits into
Draft
Add EnsembleMF: ensembled two-tower matrix factorization#458PascalIversen wants to merge 2 commits into
PascalIversen wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
EnsembleMF, a two-tower matrix factorization model for drug response prediction.Basically, I found that the graph convolutional part of my earlier idea does not really drive the performance. So this is the easiest model with which I get SOTA performance >RF.
AI summary:
Predicts the cell line x drug response matrix as a dot product of latent factors. The factors are
not free parameters but the outputs of small residual MLPs, one over gene expression and one over
Morgan fingerprints, so a held-out cell line can be scored from its features alone. On top of the
dot product sit per-cell, per-drug and global bias terms, a free per-drug id embedding (every drug
is seen during training, so an id-indexed latent is learnable and captures behaviour that
fingerprints only approximate), and a small interaction head. And then we ensemble the whole thing