Result Reporting

ResultReport

class driftai.result_report.result_report.ResultReport[source]
Parameters:
  • approach (driftai.Approach) – Location of the results
  • metrics (array of metrics) – Set of metrics
as_dataframe()[source]

Return the evaluations as pandas DataFrame

Returns:
Return type:pandas.DataFrame

Result

class driftai.result_report.result.Result[source]

Object responsible of containing the results obtained by an specific run

Parameters:
  • time (int) – Elapsed time of the run
  • result (list, np.array, pandas.Series) – The labels predicted by the approach
  • run (Run) – This Run that has generated the results
  • date (datetime, str, optional) – Creation date. Should not be set manually
get_info()[source]

Get a summary of a result instance

Returns:Dict containing essential data of result:
{
    "date": <creation_date>,
    "time": timem
    "result": dict containing the metrics and its value
}
Return type:dict