torchcell.trainers
PyTorch Lightning training tasks. The package exports the regression task (RegressionTask), a simple linear baseline, and two DCell tasks. The fit_int_* and int_* modules hold the tasks used by individual experiments and are imported by module path from the experiment scripts. Every class below is listed under the module that defines it.
dcell_regression
Lightning training task for DCell graph-based fitness regression.
Classes
LightningModule for training models on graph-based regression datasets. |
dcell_regression_slim
Slim Lightning trainer for DCell regression with subsystem and root metrics.
Classes
LightningModule for training models on graph-based regression datasets. |
int_dango
Lightning training task for the DANGO genetic-interaction regression model.
Classes
Lightning module training DANGO to regress genetic interaction scores. |
int_dcell
Lightning training module for DCell gene-interaction regression.
Classes
Lightning module training a DCell model to regress gene interactions. |
int_hetero_cell
Lightning regression tasks for heterogeneous-cell gene interaction models.
Classes
Lightning task training a model to predict gene interaction scores. |
|
|
Functions
Return the scheduler |
|
Return the schedule with integer epoch keys in ascending order. |
|
Steps of the last threshold reached ( |
int_transformer_cell
Lightning training module for the transformer cell gene-interaction model.
Classes
Lightning module training the transformer cell model on gene interactions. |
neo_regression
Lightning regression trainer with MSE/ListMLE losses and correlation metrics.
Classes
TorchMetric tracking the running mean ListMLE loss over batches. |
|
Loss combining MSE with an alpha-weighted ListMLE ranking term. |
|
LightningModule for training models on graph-based regression datasets. |
simple_linear_regression
Lightning task for simple linear regression on graph perturbation data.
Classes
LightningModule for training models on graph-based regression datasets. |