get_scalar_results

Retrieve results from dbnl

dbnl.get_scalar_results(
    *,
    run: ,
) -> pandas.DataFrame:

Parameters

Arguments
Description

run

The dbnl Run from which to retrieve the results.

Returns

Type
Description

pandas.DataFrame

A pandas DataFrame of the uploaded scalar data for the particular Run.

You can only call get_scalar_results after the run is closed.

Examples

import dbnl
import pandas as pd
dbnl.login()

proj1 = dbnl.get_or_create_project(name="test_p1")

data = pd.DataFrame({"error": [0.11, 0.33, 0.52, 0.24]})
run = dbnl.report_run_with_results(
    project=proj,
    column_results=data,
    scalar_results={"rmse": 0.37}
)

downloaded_scalars = dbnl.get_scalar_results(run=run)

Last updated

Was this helpful?