Skip to content

Commit

Permalink
Automated autopep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 2, 2024
1 parent 655ede9 commit dd3422b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedot/core/data/data_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _are_stratification_allowed(data: Union[InputData, MultiModalData], split_ra
labels_count = len(classes[0])
if test_size < labels_count:
return False

# check that multitarget classes can be stratified
if data.target.ndim == 2:
y = np.array([" ".join(row.astype("str")) for row in data.target])
Expand Down

0 comments on commit dd3422b

Please sign in to comment.