utils.helper
This contains all helper functions for experiments and visualizations.
Functions
Calculates the median L1 distance between the original dataset and the imputed values for corrupted entries only. |
|
Given a latent space for the CORTEX data set and labels, the function will perform hierarchical clustering (HC) on the latent space and calculate the NMI score. |
|
Adopted from the "Deep Generative modeling for transcriptomics data". |
|
Calculates the entropy. |
|
Adopted from: |
|
Performs K-means on the data. |
|
This function will measure the quality of clustering using NMI, ARI, and ASW. |
|
A simple function to graph the plot lines with customized options. |
|
Adoptd from: |