Closed roshankern closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Forgot to mention that it seems like running the entire notebook will take a very long time (~9hrs), so the entire notebook will be run and the last couple of lines deleted after this PR has been reviewed. That way, if there are any suggestions the entire notebook will not need to be rerun.
In
get_LOIO_probabilities.ipynb
, we use the optimal hyperparameters from each final logistic regression model (DP, CP, CP_and_DP) to fit and evaluate new models in a Leave One Image Out (LOIO) fashion. The LOIO evaluation procedure is as follows:Metadata_DNA
field):C
andl1_ratio
, saved with model data in models/) on every cell that is not in the specific image.The probabilities are saved to
LOIO_probas/
.