Skip to content

Commit 11baff2

Browse files
Format code with yapf, black, autopep8 and isort
1 parent 05a0c7b commit 11baff2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

semisupervised/utils/_split.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ def split(samples, y):
2828
y = y[labeled_indexes]
2929

3030
assert len(L) == len(y), f"L {len(L)} != {len(y)} y"
31-
if (
32-
len(L) + len(U) != samples.shape[0]
33-
):
34-
raise AssertionError(f"L {len(L)} + U {len(U)} != X {samples.shape[0]}")
31+
if len(L) + len(U) != samples.shape[0]:
32+
raise AssertionError(
33+
f"L {len(L)} + U {len(U)} != X {samples.shape[0]}")
3534

3635
return L, U, y

0 commit comments

Comments
 (0)