naobservatory / p2ra

4 stars 1 forks source link

Build model for one set of taxids at a time #146

Closed dp-rice closed 1 year ago

dp-rice commented 1 year ago

The previous version was organizing predictors by taxid twice: once in fit.py and once inside of build_model. The call inside of build_model is incorrect because for each model we only want one set of predictors (the ones for the focal taxids).