Skip to content

How to obtain the FairnessDashboard port? #725

Answered by romanlutz
DevLugo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @DevLugo !
Sounds like you're using raiwidgets since FairnessDashboard only exists there, while fairlearn.widget only has a FairlearnDashboard (which is deprecated in favor of the raiwidgets FairnessDashboard). Please open an issue in the corresponding repo and we can help you there.

While you're here: the following should solve your problem

dashboard = FairnessDashboard(...)
print(dashboard._service.port)

If that's not sufficient please open an issue in the raiwidgets repo. Thanks!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by romanlutz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants