Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sklearn/utils/estimator_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2090,10 +2090,10 @@ def check_classifiers_train(
# Prudently assume Prescott might be the architecture if it is unknown.
and info.get("architecture", "prescott").lower() == "prescott"
)

X_m, y_m, X_b, y_b = create_memmap_backed_data(
data=[X_m, y_m, X_b, y_b], aligned=has_prescott_openblas
)
X_m = create_memmap_backed_data(data=X_m, aligned=has_prescott_openblas)
y_m = create_memmap_backed_data(data=y_m, aligned=has_prescott_openblas)
X_b = create_memmap_backed_data(data=X_b, aligned=has_prescott_openblas)
y_b = create_memmap_backed_data(data=y_b, aligned=has_prescott_openblas)

problems = [(X_b, y_b)]
tags = _safe_tags(classifier_orig)
Expand Down