pyFM.optimize.base_functions.descr_preservation¶
- pyFM.optimize.base_functions.descr_preservation(C, descr1_red, descr2_red)¶
Compute the descriptor preservation constraint.
- Parameters:
C ((K2, K1) np.ndarray) – Functional map.
descr1_red ((K1, p) np.ndarray) – Descriptors on the first basis.
descr2_red ((K2, p) np.ndarray) – Descriptors on the second basis.
- Returns:
energy – Descriptor preservation squared norm.
- Return type: