def plot_model(history, fold):
    plt.title('Loss')
    plt.plot(history.history['loss'], label='train_loss')
    plt.plot(history.history['val_loss'], label='test_loss')
    plt.legend()
    plt.savefig(f'../plots/covid_model_without_vaccine_loss_{config.EPOCHS}epochs_{fold}v{config.K_FOLD_SPLITS}fold.png')
    clear_plot()
    plt.title('Accuracy')
    plt.plot(history.history['accuracy'], label='train_acc', c='r')
    plt.plot(history.history['val_accuracy'], label='test_acc', c='b')
    plt.legend()
    plt.savefig(f'../plots/covid_model_without_vaccine_accuracy_{config.EPOCHS}epochs_{fold}v{config.K_FOLD_SPLITS}fold.png')
    clear_plot()
def plot_model(history, fold):
    plt.title('Loss')
    plt.plot(history.history['loss'], label='train_loss')
    plt.plot(history.history['val_loss'], label='test_loss')
    plt.legend()
    plt.savefig(f'../plots/covid_model_without_vaccine_loss_{config.EPOCHS}epochs_{fold}v{config.K_FOLD_SPLITS}fold.png')
    clear_plot()
    plt.title('Accuracy')
    plt.plot(history.history['accuracy'], label='train_acc', c='r')
    plt.plot(history.history['val_accuracy'], label='test_acc', c='b')
    plt.legend()
    plt.savefig(f'../plots/covid_model_without_vaccine_accuracy_{config.EPOCHS}epochs_{fold}v{config.K_FOLD_SPLITS}fold.png')
    clear_plot()