Comments (6)
Thanks for trying out the KNN and letting us know that you're interested in exporting it to Core ML! Unfortunately, the KNN model is currently not supported in Core ML. I think that's currently the only classifier that is not supported, so hopefully you can find another model that suits your needs.
If you let us know what kind of model you are building, we might be able to give you a suggestion for another classifier that does support Core ML deployment.
from turicreate.
Thanks for trying out Turi Create. We will be working hard to make sure everything can be deployed. Currently, the list of deployable models are:
https://apple.github.io/turicreate/docs/userguide/deployment/introduction.html
Could share with us what the distance function you are using? Is it the default one? That would really help us.
from turicreate.
I was using the default one, yes
from turicreate.
Is there any plan to make this exportable? Disappointed that it's not currently - would be extremely interested in having this exportable to CoreML - would also be good if the documentation clearly indicated this type of model isn't exportable.
from turicreate.
I understand why it is currently not supported. KNN is a method of classification that requires packing ALL (or most) of the training data into the model so inputs can be compared to the stored information. This makes it possibly the most heavy weight ML models out there, and itβs results can still be matched using Gaussian Bayesian classifiers, SVMs, and more. I would understand if Apple was not interested in exporting a model that might be larger than the destination app itself when a smaller model can be achieved using another method with just as accurate results (in most cases).
Thanks for all the help, but unless it is an intended upgrade for the future we can close this.
from turicreate.
I just ran into this issue, from looking at the documentation I thought it'd be possible to use turicreate
to train and export the model, considering that it is listed in the docs:
I think it should be added as it'd make the ML toolset much more complete. I initially chose KNN because I have a relative small dataset. I tried first training KNN using SKLearn and using coremltools 4.0 to convert it to CoreML but the *.mlmodel
was invalid. Failing that I tried to use turicreate
directly to create the KNN model but seems like that might not be an option either.
from turicreate.
Related Issues (20)
- issue seaborn
- GraphLab Create requires a license to use in linux HOT 1
- SFRAME problem and turicreate HOT 3
- Can you continue training ObjectDetector model?
- Object detection - Segfault after a large number of iterations
- available data sets in turicreate
- Mac M2 model.export_coreml('.mlmodel') Unable to export model HOT 1
- TuriCreate still doesn't work on M1 using rosetta terminal HOT 7
- While training object_detector in colab randomly Using CPU/GPU to create model.
- Trying to create a model on a larger dataset - Loss stuck at the same number and not moving, resulting model predictions detect nothing
- Support Python 3.9 HOT 1
- pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
- Simple Image Classification Model gives different confidence level (Between Coreml UI and iOS App)
- pip dependency conflicts: conda-repo-cli 1.0.20 requires nbformat==5.4.0, but you have nbformat 5.7.3 which is incompatible. HOT 1
- AttributeError: module 'numpy' has no attribute 'typeDict' HOT 1
- Cannot install and import TuriCreate HOT 1
- Columns and DataType Not Explicitly Set on line 611 of sgraph.py
- Error While Installing Turicreate to my Windows via WSL HOT 1
- Benzinga error
- when you planning run it on windows natively (not wsl)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turicreate.