Unrecognized function or variable 'fairnessMetrics'.

3 views (last 30 days)
Dear all,
I want to apply fairness in my models and I got this error:
Unrecognized function or variable 'fairnessMetrics'.
I am using matlab 2021b. I wonder if the issue is the version of my matlab or I need to install something to use this function
Thank you very much

Accepted Answer

Bala Tripura Bodapati
Bala Tripura Bodapati on 21 Nov 2022
Hi Esmeralda
It is my understanding that an error is encountered when using 'fairnessMetrics' function in MATLAB R2021b.
'fairnessMetrics' is introduced in MATLAB R2022b, so it will be accessible only in R2022b and future releases.
A possible workaround is to upgrade your MATLAB version to R2022b.
Refer the farinessMetrics documentation for more information.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!