The site here shows an example of how we can use custom metric for FLAML, and the alpha in def custom_metric seems a weight value for training and validating set.
My question is that for default built-in metrics, say, accuracy for binary classification, what is the alpha? Is it zero, which means we only use validation information, or the opposite, we don't use validation loss at all?
What I want to do is to create a f2 score like the built-in f1 score, but I don't know how to decide the alpha as shown in the example.
Hi all,
The site here shows an example of how we can use custom metric for FLAML, and the
alpha
indef custom_metric
seems a weight value for training and validating set.My question is that for default built-in metrics, say, accuracy for binary classification, what is the alpha? Is it zero, which means we only use validation information, or the opposite, we don't use validation loss at all?
What I want to do is to create a f2 score like the built-in f1 score, but I don't know how to decide the alpha as shown in the example.
Thank you very much!