Skip to content

Commit

Permalink
Merge pull request #431 from jGaboardi/k_nearest_demo_notebook
Browse files Browse the repository at this point in the history
K-nearest p-median demo notebook
  • Loading branch information
ljwolf authored Dec 10, 2023
2 parents 4760bd9 + 9d382e7 commit 86673f8
Show file tree
Hide file tree
Showing 22 changed files with 16,680 additions and 11,275 deletions.
1 change: 1 addition & 0 deletions docs/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Tutorials
notebooks/mclp_gis.ipynb
notebooks/p-center.ipynb
notebooks/p-median.ipynb
notebooks/p-median_variations.ipynb
notebooks/p-dispersion.ipynb
notebooks/facloc-real-world.ipynb
notebooks/facloc-lscpb-real-world.ipynb
Expand Down
205 changes: 125 additions & 80 deletions notebooks/azp.ipynb

Large diffs are not rendered by default.

568 changes: 352 additions & 216 deletions notebooks/component_policy.ipynb

Large diffs are not rendered by default.

246 changes: 210 additions & 36 deletions notebooks/facloc-disperse-real-world.ipynb

Large diffs are not rendered by default.

322 changes: 283 additions & 39 deletions notebooks/facloc-lscpb-real-world.ipynb

Large diffs are not rendered by default.

344 changes: 294 additions & 50 deletions notebooks/facloc-real-world.ipynb

Large diffs are not rendered by default.

255 changes: 225 additions & 30 deletions notebooks/lscp.ipynb

Large diffs are not rendered by default.

367 changes: 327 additions & 40 deletions notebooks/lscp_capacity.ipynb

Large diffs are not rendered by default.

9,914 changes: 4,767 additions & 5,147 deletions notebooks/lscp_gis.ipynb

Large diffs are not rendered by default.

334 changes: 293 additions & 41 deletions notebooks/lscpb.ipynb

Large diffs are not rendered by default.

241 changes: 216 additions & 25 deletions notebooks/maxp.ipynb

Large diffs are not rendered by default.

284 changes: 254 additions & 30 deletions notebooks/mclp.ipynb

Large diffs are not rendered by default.

9,906 changes: 4,911 additions & 4,995 deletions notebooks/mclp_gis.ipynb

Large diffs are not rendered by default.

253 changes: 228 additions & 25 deletions notebooks/p-center.ipynb

Large diffs are not rendered by default.

255 changes: 225 additions & 30 deletions notebooks/p-dispersion.ipynb

Large diffs are not rendered by default.

468 changes: 234 additions & 234 deletions notebooks/p-median.ipynb

Large diffs are not rendered by default.

2,652 changes: 2,652 additions & 0 deletions notebooks/p-median_variations.ipynb

Large diffs are not rendered by default.

598 changes: 485 additions & 113 deletions notebooks/randomregion.ipynb

Large diffs are not rendered by default.

275 changes: 216 additions & 59 deletions notebooks/reg-k-means.ipynb

Large diffs are not rendered by default.

346 changes: 288 additions & 58 deletions notebooks/skater.ipynb

Large diffs are not rendered by default.

120 changes: 93 additions & 27 deletions notebooks/ward.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions spopt/locate/p_median.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ def from_geodataframe(
0.809
Get the k values for the last iteration.
>>> print(k_nearest_pmedian.k_array)
[2, 1]
Expand Down

0 comments on commit 86673f8

Please sign in to comment.