CelLink
  • Installation
  • Tutorials
  • API documentation
CelLink
  • API documentation
  • CelLink.metrics
  • CelLink.metrics.feature_imputation_rmse
  • View page source

CelLink.metrics.feature_imputation_rmse

CelLink.metrics.feature_imputation_rmse(m1_feature, m2_aligned_feature1)[source]

Calculate the RMSE of the aligned feature profile.

Parameters:
  • m1_feature (np.ndarray of shape (n_samples, n_features)) – The original modality-1 feature matrix.

  • m2_aligned_feature1 (np.ndarray of shape (n_samples, n_features)) – The imputed (aligned) modality-1 feature matrix obtained for modality 2.

Returns:

float – The root mean squared error between the original and imputed features.

Previous Next

© Copyright Xin Luo.

Built with Sphinx using a theme provided by Read the Docs.