https://github.com/sorenlind/keras-knn
Code for the blog post Nearest Neighbors with Keras and CoreML
https://github.com/sorenlind/keras-knn
coreml cosine-similarity keras knn notebook
Last synced: about 2 months ago
JSON representation
Code for the blog post Nearest Neighbors with Keras and CoreML
- Host: GitHub
- URL: https://github.com/sorenlind/keras-knn
- Owner: sorenlind
- Created: 2018-09-26T16:02:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-13T22:55:15.000Z (about 6 years ago)
- Last Synced: 2025-04-06T23:13:26.425Z (3 months ago)
- Topics: coreml, cosine-similarity, keras, knn, notebook
- Language: Jupyter Notebook
- Homepage: https://hackernoon.com/nearest-neighbors-with-keras-and-coreml-755e76fedf36
- Size: 10.7 KB
- Stars: 27
- Watchers: 1
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# keras-knn
This respository contains the example code for the blog post [Nearest Neighbors with Keras and CoreML](https://hackernoon.com/nearest-neighbors-with-keras-and-coreml-755e76fedf36).
The example notebook shows how you can use Keras to build a
cosine-based k-nearest neighbors model (k-NN) on top of an existing deep
network. The notebook also has an example of converting the model to CoreML
for use on iPhone or other iOS devices.