(history)
return return_plots
plotting function that generates classification plots

    :param history: the keras history object
    :return the names and actual classification plots
plotting function that generates classification plots
plotting function that generates classification plots
def generate_classification_plots(history):
    '''
    plotting function that generates classification plots

    :param history: the keras history object
    :return the names and actual classification plots
    '''
    plots = []
    plot_names = []

    # generating plots for accuracy
    plots.append(plot_acc(history))
    plot_names.append('accuracyvsval_accuracy')
    # generating plots for loss
    plots.append(plot_loss(history))
    plot_names.append('lossvsval_los')

    # dynamic way to return all possible plots in case it expands together
    return_plots = {str(plot_names[x]):plots[x] for x in range(len(plots))}

    return return_plots
def generate_classification_plots ( history ) : plots = [ ] plot_names = [ ] # generating plots for accuracy plots . append ( plot_acc ( history ) ) plot_names . append ( 'accuracyvsval_accuracy' ) # generating plots for loss plots . append ( plot_loss ( history ) ) plot_names . append ( 'lossvsval_los' ) # dynamic way to return all possible plots in case it expands together return_plots = { str ( plot_names [ x ] ) : plots [ x ] for x in range ( len ( plots ) ) } return return_plots