sctour.train.Trainer.get_latentsp
- Trainer.get_latentsp(alpha_z: float = 0.5, alpha_predz: float = 0.5, step_size: Optional[int] = None, step_wise: bool = False, batch_size: Optional[int] = None) tuple[source]
Infer the latent space.
- Parameters
alpha_z – Scaling factor for encoder-derived latent space. (Default: 0.5)
alpha_predz – Scaling factor for ODE-solver-derived latent space. (Default: 0.5)
step_size – Step size during integration.
step_wise – Whether to perform step-wise integration by iteratively considering only two time points each time. (Default: False)
batch_size – Batch size when deriving the latent space. The default is no mini-batching.
- Returns
3-tuple of weighted combined latent space, encoder-derived latent space, and ODE-solver-derived latent space.
- Return type