code: def F_beta(self, beta):
          
          try:
              F_dict = {}
              for i in self.TP.keys():
                  F_dict[i] = F_calc(
                      TP=self.TP[i],
                      FP=self.FP[i],
                      FN=self.FN[i],
                      beta=beta)
              return F_dict
          except Exception:
              return {}
docs: Calculate FBeta score.
  
          :param beta: beta parameter
          :type beta : float
          :return: FBeta score for classes as dict