def CollectLearningRatesFromHistory(self):
    '\n        This method collect the learning rate metric data from the history.\n        '
    try:
        lr_val: str = 'lr'
        if (lr_val in self._history_keys):
            self._learning_rates = [s for s in self._history_keys if (lr_val == s)]
            if isNotNone(self._learning_rates):
                self._history_keys_list.remove(lr_val)
                print('Found learning rates in history!')
    except Exception as ex:
        template = 'An exception of type {0} occurred in [HistoryPlotter.CollectLearningRatesFromHistory]. Arguments:\n{1!r}'
        message = template.format(type(ex).__name__, ex.args)
        print(message)
This method collect the learning rate metric data from the history.
def CollectLearningRatesFromHistory(self):
    '\n        \n        '
    try:
        lr_val: str = 'lr'
        if (lr_val in self._history_keys):
            self._learning_rates = [s for s in self._history_keys if (lr_val == s)]
            if isNotNone(self._learning_rates):
                self._history_keys_list.remove(lr_val)
                print('Found learning rates in history!')
    except Exception as ex:
        template = 'An exception of type {0} occurred in [HistoryPlotter.CollectLearningRatesFromHistory]. Arguments:\n{1!r}'
        message = template.format(type(ex).__name__, ex.args)
        print(message)