Skip to content

Commit 6ec6c52

Browse files
itearslShvets Kirill
authored and
Shvets Kirill
committed
fix pep8
1 parent 13aaeac commit 6ec6c52

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

bench.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,8 @@ def gen_basic_dict(library, algorithm, stage, params, data, alg_instance=None,
505505
alg_instance_params = dict(alg_instance.get_params())
506506
print(alg_instance_params)
507507
if ('min_samples_split' in alg_instance_params
508-
and 'handle' in alg_instance_params
509-
and 'cuml' in str(alg_instance_params['handle'])):
508+
and 'handle' in alg_instance_params
509+
and 'cuml' in str(alg_instance_params['handle'])):
510510
print(str(alg_instance_params['dtype']))
511511
alg_instance_params['dtype'] = str(alg_instance_params['dtype'])
512512
result['algorithm_parameters'].update(alg_instance_params)

cuml_bench/tsne.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
help='Dimension of the embedded space.')
99
parser.add_argument('--early-exaggeration', type=float, default=12.0,
1010
help='Controls how tight natural clusters in the '
11-
'original space are in the embedded space and how much space will be between them.')
11+
'original space are in the embedded space and how much '
12+
'space will be between them.')
1213
parser.add_argument('--learning-rate', type=float, default=200.0,
1314
help='The learning rate for t-SNE is usually in the range [10.0, 1000.0].')
1415
parser.add_argument('--angle', type=float, default=0.5,

sklearn_bench/tsne.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ def main():
5454
help='Dimension of the embedded space.')
5555
parser.add_argument('--early-exaggeration', type=float, default=12.0,
5656
help='Controls how tight natural clusters in the'
57-
'original space are in the embedded space and how much space will be between them.')
57+
'original space are in the embedded space and how '
58+
'much space will be between them.')
5859
parser.add_argument('--learning-rate', type=float, default=200.0,
5960
help='The learning rate for t-SNE is usually in the range [10.0, 1000.0].')
6061
parser.add_argument('--angle', type=float, default=0.5,

0 commit comments

Comments
 (0)