Skip to content

Commit

Permalink
Merge pull request #323 from mjohns-databricks/mjohns/spatial-knn-exa…
Browse files Browse the repository at this point in the history
…mple

Mjohns/spatial knn example
  • Loading branch information
mjohns-databricks authored Mar 22, 2023
2 parents 53677ba + 4da737b commit 5324180
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
4 changes: 2 additions & 2 deletions docs/source/models/spatial-knn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Spatial K Nearest Neighbours
============================

* Runnable notebook based python example available, see [here](https://github.com/databrickslabs/mosaic/tree/main/notebooks/examples/python/SpatialKNN)
* Also, reference SpatialKNN code-level APIs [Python](https://github.com/databrickslabs/mosaic/blob/main/python/mosaic/models/knn/spatial_knn.py) | [Scala](https://github.com/databrickslabs/mosaic/tree/main/src/main/scala/com/databricks/labs/mosaic/models/knn) for any additions or changes
* Runnable notebook based python example available, see `here <https://github.com/databrickslabs/mosaic/tree/main/notebooks/examples/python/SpatialKNN>`__
* Also, reference SpatialKNN code-level APIs `Python <https://github.com/databrickslabs/mosaic/blob/main/python/mosaic/models/knn/spatial_knn.py>`__ | `Scala <https://github.com/databrickslabs/mosaic/tree/main/src/main/scala/com/databricks/labs/mosaic/models/knn>`__ for any additions or changes

Intro
###################
Expand Down
13 changes: 0 additions & 13 deletions notebooks/examples/python/SpatialKNN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,3 @@ Usually when asserting the notion of nearest neighbors we fix that notion to the
This notebook series was run on Databricks with the [Mosaic](https://github.com/databrickslabs/mosaic/tree/main/python) library installed. For this example it is recommended to install it from [PyPi](https://pypi.org/project/databricks-mosaic/) on your Databricks cluster like [so](https://docs.databricks.com/libraries/cluster-libraries.html). __Make sure you run this on Databricks ML Runtime (initially implemented on 11.3 LTS).__

*notebook original author [@milos-colic](https://github.com/milos-colic) | submitted by [@mjohns-databricks](https://github.com/mjohns-databricks)*

<!-- CSS -->
<style>
img {
width: 600px;
-webkit-filter: drop-shadow(5px 5px 5px #666666);
filter: drop-shadow(5px 5px 5px #666666);
padding-top: 50px;
padding-right: 30px;
padding-bottom: 50px;
padding-left: 80px;
}
</style>

0 comments on commit 5324180

Please sign in to comment.