Skip to content

Commit 60b0a04

Browse files
siavrezglemaitre
authored andcommitted
MNT speed up plot_nca_classification.py (scikit-learn#21771)
* accelerate plot_nca_classification.py * change step size to 0.05
1 parent 070d32b commit 60b0a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/neighbors/plot_nca_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
X, y, stratify=y, test_size=0.7, random_state=42
4141
)
4242

43-
h = 0.01 # step size in the mesh
43+
h = 0.05 # step size in the mesh
4444

4545
# Create color maps
4646
cmap_light = ListedColormap(["#FFAAAA", "#AAFFAA", "#AAAAFF"])

0 commit comments

Comments
 (0)