def CollectAccFromHistory(self, name: str):
    '\n         This method collect the accuracy data from the history into 2 lists.\n            :param name:str: name of the used acc metric\n        '
    try:
        acc_list: list = []
        val_acc_list: list = []
        name = re.sub('val_', '', name)
        if (name in self._history_keys):
            acc_list = [s for s in self._history_keys if (name == s)]
            val_acc_list = [s for s in self._history_keys if (('val_' + name) == s)]
            if (isNotNone(acc_list) and isNotNone(val_acc_list)):
                self._history_keys_list.remove(name)
                self._history_keys_list.remove(('val_' + name))
                print('Found accuracy metrics in history!')
        return (acc_list, val_acc_list)
    except Exception as ex:
        template = 'An exception of type {0} occurred in [HistoryPlotter.CollectAccFromHistory]. Arguments:\n{1!r}'
        message = template.format(type(ex).__name__, ex.args)
        print(message)
This method collect the accuracy data from the history into 2 lists.
   :param name:str: name of the used acc metric
def CollectAccFromHistory(self, name: str):
    '\n         This method collect the accuracy data from the history into 2 lists.\n            :param name:str: name of the used acc metric\n        '
    try:
        acc_list: list = []
        val_acc_list: list = []
        name = re.sub('val_', , name)
        if (name in self._history_keys):
            acc_list = [s for s in self._history_keys if (name == s)]
            val_acc_list = [s for s in self._history_keys if (('val_' + name) == s)]
            if (isNotNone(acc_list) and isNotNone(val_acc_list)):
                self._history_keys_list.remove(name)
                self._history_keys_list.remove(('val_' + name))
                print('Found accuracy metrics in history!')
        return (acc_list, val_acc_list)
    except Exception as ex:
        template = 'An exception of type {0} occurred in [HistoryPlotter.CollectAccFromHistory]. Arguments:\n{1!r}'
        message = template.format(type(ex).__name__, ex.args)
        print(message)