Release Notes#
0.1.0#
Initial scmiracle package release focused on continual integration for
single-cell multimodal data.
API#
Public high-level helper:
scmiracle.model.MIRACLE.Initial training:
MIRACLE.setup_mudata(...).train(...).Continual training:
MIRACLE.setup_continual(...)with replay memory and a previous checkpoint.Inference:
get_latent_representation,load_model_from_checkpoint_for_mdata, andget_latent_from_checkpoint.Replay utilities:
build_replay,load_replay,load_replay_with_metadata,attach_replay_metadata, andexport_mudata_metadata.Data migration utilities:
load_mtx_dir_as_mudata,prefix_batch_and_obs_names,attach_feature_and_label_metadata, andget_obs_series.
Continual Integration#
Replay-aware training alternates current-task and replay batches.
Original per-batch cell counts are stored in checkpoint and replay metadata for stable weighting across incremental updates.
Compatible checkpoint weights are transferred into expanded feature and batch spaces when possible.
Lazy continual setup aligns features without materializing a full merged expression matrix.
API Check Status#
from scmiracle.model import MIRACLEimports successfully in the current workspace.scmiracle.download_data.downloadandlist_available_datasetsare importable.scmiracle.MIRACLEis not currently available becausescmiracle/__init__.pydoes not export the class.