Open in app

Sign in

Medium Logo
Write

Sign in

How to add user defined function (Get F1-score) in Keras metrics ?
312
4

Aakash Goel

Aakash Goel
Aakash Goel
1 min read
·
May 23, 2019

--

Hey Remi KERKOUR, I haven’t tried to compute macro-f1but may be below link is helpful. It contains code for calculating macro-f1 in Keras.

Macro F1-Score Keras

Using data from Human Protein Atlas Image Classification

www.kaggle.com

Kaggle

--

--

Aakash Goel
Aakash Goel

Written by Aakash Goel

98 followers
·16 following

Data Scientist

No responses yet

Help

Status

About

Careers

Press

Blog

Privacy

Rules

Terms

Text to speech