An (unofficial) implementation of Focal Loss, as described in the RetinaNet paper, https://arxiv.org/abs/1708.02002, generalized to the multi-class case. It is ...
Note: This book is the first edition of Quantitative Finance with Case Studies in Python. For readers of the second edition, please go to this repo.