Skip to content

Commit c14d61f

Browse files
fix tuto
1 parent c49fcf5 commit c14d61f

File tree

2 files changed

+74
-28983
lines changed

2 files changed

+74
-28983
lines changed

shapash/plots/plot_evaluation_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ def plot_contributions_projection(
751751
### Dimensional Reduction with UMAP
752752
umap = UMAP(
753753
metric=metric,
754-
n_neighbors=min(n_neighbors, len(values_to_project)),
754+
n_neighbors=min(n_neighbors, len(values_to_project) - 1),
755755
learning_rate=learning_rate,
756756
min_dist=min_dist,
757757
spread=spread,

tutorial/plots_and_charts/tuto-plot06-prediction_plot.ipynb

Lines changed: 73 additions & 28982 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)