code: def test_predefined_names(self):
      epoch_metrics = [
          "f1",
          "precision",
          "recall",
          "binaryf1",
          "binf1",
          "binaryprecision",
          "binprecision",
          "binaryrecall",
          "binrecall",
      ]
      fmetric = [
          "fscore",
          "precision",
          "recall",
          "fscore",
          "fscore",
          "precision",
          "precision",
          "recall",
          "recall",
      ]
      average = [
          "macro",
          "macro",
          "macro",
          "binary",
          "binary",
          "binary",
          "binary",
          "binary",
          "binary",
      ]
      names = [
          "fscore_macro",
          "precision_macro",
          "recall_macro",
          "bin_fscore1",
          "bin_fscore2",
          "bin_precision1",
          "bin_precision2",
          "bin_recall1",
          "bin_recall2",
      ]
      model = Model(
          nn.Linear(10, 2),
          "sgd",
          "cross_entropy",
          epoch_metrics=epoch_metrics,
      )
      actual_fmetric = [
          epoch_metric._metric for epoch_metric in model.epoch_metrics
      ]
      actual_average = [
          epoch_metric._average for epoch_metric in model.epoch_metrics
      ]
      self.assertEqual(fmetric, actual_fmetric)
      self.assertEqual(average, actual_average)
      self.assertEqual(names, model.epoch_metrics_names)
  
imports: from unittest import TestCase
  import numpy
  import torch
  import torch.nn
  from poutyne import F1, BinaryF1, FBeta, Model
label_desc: Use image node_id 17 for calling the BaseFBetaTest obj's underlying member method code with example usage: obj.test_predefined_names() without return types