You can easily write custom metric functions for scikit-learn, but you need to take an extra step if you want to use those metrics in a hyperparameter search. To add a number there, you need to use a scorer instead. The goal of this video is to explain the difference and to show how to leverage the `make_scorer` helper utility here.
Website: https://probabl.ai/
LinkedIn: https://www.linkedin.com/company/probabl
Bluesky: https://bsky.app/profile/probabl.bsky.social
Twitter: https://x.com/probabl_ai
Discord: https://discord.probabl.ai
We also host a podcast called Sample Space, which you can find on your favourite podcast player. All the links can be found here:
https://rss.com/podcasts/sample-space/
#probabl