Browse Source

New translations generate_random_preimages_by_class.py (Chinese Simplified)

l10n_v0.2.x
linlin 4 years ago
parent
commit
e6c5a45c39
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lang/zh/gklearn/preimage/generate_random_preimages_by_class.py

+ 2
- 2
lang/zh/gklearn/preimage/generate_random_preimages_by_class.py View File

@@ -31,7 +31,7 @@ def generate_random_preimages_by_class(ds_name, rpg_options, kernel_options, sav
if save_results: if save_results:
# create result files. # create result files.
print('creating output files...') print('creating output files...')
fn_output_detail, fn_output_summary = __init_output_file_preimage(ds_name, kernel_options['name'], dir_save)
fn_output_detail, fn_output_summary = _init_output_file_preimage(ds_name, kernel_options['name'], dir_save)


dis_k_dataset_list = [] dis_k_dataset_list = []
@@ -166,7 +166,7 @@ def generate_random_preimages_by_class(ds_name, rpg_options, kernel_options, sav
print('\ncomplete.\n') print('\ncomplete.\n')


def __init_output_file_preimage(ds_name, gkernel, dir_output):
def _init_output_file_preimage(ds_name, gkernel, dir_output):
if not os.path.exists(dir_output): if not os.path.exists(dir_output):
os.makedirs(dir_output) os.makedirs(dir_output)
fn_output_detail = 'results_detail.' + ds_name + '.' + gkernel + '.csv' fn_output_detail = 'results_detail.' + ds_name + '.' + gkernel + '.csv'


Loading…
Cancel
Save