Databricks is adding NULL value in the URL while moving the Fairlearn dashboard and causing CORS error and fairlearn dashboard keeps spinning.

mali_bigdata
New Contributor

We are trying to run FairnessDashboard and once we pass in the data to the dashboard it keeps on the spinning. Please see the attached file.

Also we noticed that Databricks is adding NULL in the URL and eventually we get the CORS error and it is redirecting us to the login URL. please see attached file.

https://adb-1XXXXXXXXXX.15.azuredatabricks.net/null/metrics

Code below:

------------

from raiwidgets import FairnessDashboard

# A_test contains your sensitive features (e.g., age, binary gender)

# y_true contains ground truth labels

# y_pred contains prediction labels

FairnessDashboard(sensitive_features=A_test,

         y_true=Y_test.tolist(),

         y_pred=Y_pred.tolist())