Skip to content

Commit 893d588

Browse files
ran black for linting check
1 parent 7a70a0b commit 893d588

File tree

154 files changed

+309
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+309
-222
lines changed

.github/scripts/label_title_regex.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Labels PRs based on title. Must be run in a github action with the
22
pull_request_target event."""
3+
34
import json
45
import os
56
import re

asv_benchmarks/benchmarks/ensemble.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
GradientBoostingClassifier,
33
HistGradientBoostingClassifier,
44
RandomForestClassifier,
5-
RandomForestRegressor
5+
RandomForestRegressor,
66
)
77

88
from .common import Benchmark, Estimator, Predictor
@@ -11,7 +11,7 @@
1111
_20newsgroups_lowdim_dataset,
1212
_synth_classification_dataset,
1313
_synth_regression_dataset,
14-
_synth_regression_sparse_dataset
14+
_synth_regression_sparse_dataset,
1515
)
1616
from .utils import make_gen_classif_scorers, make_gen_reg_scorers
1717

benchmarks/bench_glm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Data comes from a random square matrix.
55
66
"""
7+
78
from datetime import datetime
89

910
import numpy as np

benchmarks/bench_glmnet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
1717
In both cases, only 10% of the features are informative.
1818
"""
19+
1920
import gc
2021
from time import time
2122

benchmarks/bench_isotonic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
This allows the scaling of the algorithm with the problem size to be
1111
visualized and understood.
1212
"""
13+
1314
import argparse
1415
import gc
1516
from datetime import datetime

benchmarks/bench_kernel_pca_solvers_time_vs_n_components.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
You can also set `arpack_all=True` to activate arpack solver for large number
3636
of components (this takes more time).
3737
"""
38+
3839
# Authors: Sylvain MARIE, Schneider Electric
3940

4041
import time

benchmarks/bench_kernel_pca_solvers_time_vs_n_samples.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
Solvers comparison benchmark: time vs n_components", where this time the number
3838
of examples is fixed, and the desired number of components varies.
3939
"""
40+
4041
# Author: Sylvain MARIE, Schneider Electric
4142

4243
import time

benchmarks/bench_lasso.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
1212
In both cases, only 10% of the features are informative.
1313
"""
14+
1415
import gc
1516
from time import time
1617

benchmarks/bench_plot_lasso_path.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
The input data is mostly low rank but is a fat infinite tail.
44
"""
5+
56
import gc
67
import sys
78
from collections import defaultdict

benchmarks/bench_plot_neighbors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Plot the scaling of the nearest neighbors algorithms with k, D, and N
33
"""
4+
45
from time import time
56

67
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)