8000 Follow-up fix for check_classifiers_train on prescott OpenBLAS (#21704) · scikit-learn/scikit-learn@432ae47 · GitHub
[go: up one dir, main page]

Skip to content

Commit 432ae47

Browse files
authored
Follow-up fix for check_classifiers_train on prescott OpenBLAS (#21704)
1 parent 3f019bd commit 432ae47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sklearn/utils/estimator_checks.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,10 +2090,10 @@ def check_classifiers_train(
20902090
# Prudently assume Prescott might be the architecture if it is unknown.
20912091
and info.get("architecture", "prescott").lower() == "prescott"
20922092
)
2093-
2094-
X_m, y_m, X_b, y_b = create_memmap_backed_data(
2095-
data=[X_m, y_m, X_b, y_b], aligned=has_prescott_openblas
2096-
)
2093+
X_m = create_memmap_backed_data(data=X_m, aligned=has_prescott_openblas)
2094+
y_m = create_memmap_backed_data(data=y_m, aligned=has_prescott_openblas)
2095+
X_b = create_memmap_backed_data(data=X_b, aligned=has_prescott_openblas)
2096+
y_b = create_memmap_backed_data(data=y_b, aligned=has_prescott_openblas)
20972097

20982098
problems = [(X_b, y_b)]
20992099
tags = _safe_tags(classifier_orig)

0 commit comments

Comments
 (0)
0