def _save_rvnn_vs_cvnn_montecarlo_log(iterations, path, dataset_name, hl, shape, dropout, num_classes, polar_mode, activation, optimizer, loss, dataset_size, feature_size, epochs, batch_size, winner, complex_median, real_median, complex_err, real_err, complex_median_train, real_median_train, comments='', filename=None):
    fieldnames = ['iterations', 'dataset', '# Classes', 'Dataset Size', 'Feature Size', 'Polar Mode', 'Optimizer', 'Loss', 'HL', 'Shape', 'Dropout', 'Activation Function', 'epochs', 'batch size', 'Winner', 'CVNN median', 'RVNN median', 'CVNN err', 'RVNN err', 'CVNN train median', 'RVNN train median', 'path', 'cvnn version', 'Comments']
    row_data = [iterations, dataset_name, num_classes, dataset_size, feature_size, polar_mode, optimizer, str(loss), hl, shape, dropout, activation, epochs, batch_size, winner, complex_median, real_median, complex_err, real_err, complex_median_train, real_median_train, path, cvnn.__version__, comments]
    percentage_cols = ['P', 'Q', 'R', 'S', 'T', 'U']
    _create_excel_file(fieldnames, row_data, filename, percentage_cols=percentage_cols)
def _save_rvnn_vs_cvnn_montecarlo_log(iterations, path, dataset_name, hl, shape, dropout, num_classes, polar_mode, activation, optimizer, loss, dataset_size, feature_size, epochs, batch_size, winner, complex_median, real_median, complex_err, real_err, complex_median_train, real_median_train, comments=, filename=None):
    fieldnames = ['iterations', 'dataset', '# Classes', 'Dataset Size', 'Feature Size', 'Polar Mode', 'Optimizer', 'Loss', 'HL', 'Shape', 'Dropout', 'Activation Function', 'epochs', 'batch size', 'Winner', 'CVNN median', 'RVNN median', 'CVNN err', 'RVNN err', 'CVNN train median', 'RVNN train median', 'path', 'cvnn version', 'Comments']
    row_data = [iterations, dataset_name, num_classes, dataset_size, feature_size, polar_mode, optimizer, str(loss), hl, shape, dropout, activation, epochs, batch_size, winner, complex_median, real_median, complex_err, real_err, complex_median_train, real_median_train, path, cvnn.__version__, comments]
    percentage_cols = ['P', 'Q', 'R', 'S', 'T', 'U']
    _create_excel_file(fieldnames, row_data, filename, percentage_cols=percentage_cols)