import pandas as pd


df = pd.read_csv('clip_500_test_df_umap-knn-l2.csv')
d_ = df[df['gt_umap_nmi']>0.1]
relative_umap_nmi_precision_ = d_['pred_umap_nmi'] / d_['gt_umap_nmi']

# for tsne res
relative_umap_sc_precision_ = d_['pred_umap_sc'] / d_['gt_tsne_sc']
