10000 MNT speed up plot_nca_classification.py (#21771) · scikit-learn/scikit-learn@9ebeccd · GitHub
[go: up one dir, main page]

Skip to content

Commit 9ebeccd

Browse files
siavrezglemaitre
authored andcommitted
MNT speed up plot_nca_classification.py (#21771)
* accelerate plot_nca_classification.py * change step size to 0.05
1 parent 51a43ff commit 9ebeccd

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)
0