Skip to main content

Crate tikhonov

Crate tikhonov 

Source
Expand description

Tikhonov: pure-Rust Harmony2 single-cell integration.

Re-exports§

pub use config::HarmonyConfig;
pub use error::HarmonyError;
pub use harmony::HarmonyResult;
pub use harmony::run_harmony;
pub use history::HarmonyHistory;
pub use history::HistoryEntry;
pub use phi::Phi;

Modules§

cluster
Soft-clustering E-step (update_r_block) and M-step (update_y).
config
Hyperparameters for crate::run_harmony.
correct
Mixture-of-experts ridge regression correction.
embed
Cosine embedding helpers and kmeans++ centroid initialisation.
error
Error types for the tikhonov crate.
harmony
Top-level run_harmony driver.
history
Convergence diagnostics emitted by crate::run_harmony.
objective
Kmeans + entropy + cross-entropy objective, matching harmony::compute_objective in harmony-R 1.2.4.
phi
One-hot design matrix for batch covariates.