Skip to content

Commit 45329dd

Browse files
Format code with yapf, black, autopep8 and isort
1 parent c2f628d commit 45329dd

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

instance_selection/_RNN.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ def filter(self, samples, y):
4848
samples, y = cnn.filter(samples, y)
4949
samp_set = transform(samples, y)
5050

51-
data = deque(list(samp_set['data']))
52-
target = deque(list(samp_set['target']))
51+
data = deque(list(samp_set["data"]))
52+
target = deque(list(samp_set["target"]))
5353

5454
for instance in zip(samp_set.data, samp_set.target):
5555
(sample, class_sample) = instance

semisupervised/CoTraining.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ def __init__(
8686
try:
8787
self.h1, self.h2 = configs
8888
except ValueError:
89-
raise AttributeError("Classifiers and/or params were not "
90-
"correctly passed.")
89+
raise AttributeError(
90+
"Classifiers and/or params were not " "correctly passed."
91+
)
9192

9293
def fit(self, samples, y):
9394
"""

semisupervised/DemocraticCoLearning.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ def __init__(
9494
try:
9595
self.h1, self.h2, self.h3 = configs
9696
except ValueError:
97-
raise AttributeError("Classifiers and/or params were not "
98-
"correctly passed.")
97+
raise AttributeError(
98+
"Classifiers and/or params were not " "correctly passed."
99+
)
99100

100101
def fit(self, samples, y):
101102
"""

semisupervised/TriTraining.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ def __init__(
8787
try:
8888
self.hj, self.hk, self.hi = configs
8989
except ValueError:
90-
raise AttributeError("Classifiers and/or params were not "
91-
"correctly passed.")
90+
raise AttributeError(
91+
"Classifiers and/or params were not " "correctly passed."
92+
)
9293

9394
self.random_state = (
9495
random_state

0 commit comments

Comments
 (0)