get args right
@@ -659,9 +659,14 @@ class Linker:
self._initialise_df_concat_with_tf(materialise=True)
estimate_m_from_pairwise_labels(self, table_name)
- def roc_from_labels(self, labels_tablename, match_weight_round_to_nearest):
+ def roc_from_labels(
+ self, labels_tablename, threshold_actual=0.5, match_weight_round_to_nearest=None
+ ):
df_truth_space = truth_space_table(
- self, labels_tablename, match_weight_round_to_nearest
+ self,
+ labels_tablename,
+ threshold_actual=threshold_actual,
+ match_weight_round_to_nearest=match_weight_round_to_nearest,
)
recs = df_truth_space.as_record_dict()
return roc_chart(recs)
