qolmat.benchmark.metrics.accuracy¶
- qolmat.benchmark.metrics.accuracy(df1: DataFrame, df2: DataFrame, df_mask: DataFrame) Series[source]¶
Compute the matching ratio between the two datasets.
- Parameters
- df1pd.DataFrame
True dataframe
- df2pd.DataFrame
Predicted dataframe
- df_maskpd.DataFrame
Elements of the dataframes to compute on
- Returns
- pd.Series