Skip to main content

Community Tools for CoreML

Project description

Core ML is an Apple framework which allows developers to simply and easily integrate machine learning (ML) models into apps running on Apple devices (including iOS, watchOS, macOS, and tvOS). Core ML introduces a public file format (.mlmodel) for a broad set of ML methods including deep neural networks (both convolutional and recurrent), tree ensembles with boosting, and generalized linear models. Models in this format can be directly integrated into apps through Xcode.

coremltools is a python package for creating, examining, and testing models in the .mlmodel format. In particular, it can be used to:

  • Convert existing models to .mlmodel format from popular machine learning tools including Keras, Caffe, scikit-learn, libsvm, and XGBoost.

  • Express models in .mlmodel format through a simple API.

  • Make predictions with an .mlmodel (on select platforms for testing purposes).

Installation

The method for installing coremltools follows the standard python package installation steps. Once you have set up a python environment, run:

pip install -U coremltools

The package documentation contains more details on how to use coremltools.

Dependencies

coremltools has the following dependencies:

  • numpy (1.10.0+)

  • protobuf (3.1.0+)

In addition, it has the following soft dependencies that are only needed when you are converting models of these formats:

  • Keras (1.2.2, 2.0.4+) with corresponding Tensorflow version

  • Xgboost (0.7+)

  • scikit-learn (0.17+)

  • libSVM

More Information

License

Copyright (c) 2018, Apple Inc. All rights reserved.

Use of this source code is governed by the 3-Clause BSD License that can be found in the LICENSE.txt file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

coremltools-0.8-py3.6-none-manylinux1_x86_64.whl (2.5 MB view details)

Uploaded Python 3

coremltools-0.8-py3.5-none-manylinux1_x86_64.whl (2.5 MB view details)

Uploaded Python 3

coremltools-0.8-py2.7-none-manylinux1_x86_64.whl (2.5 MB view details)

Uploaded Python 2

coremltools-0.8-cp36-none-macosx_10_13_intel.whl (2.2 MB view details)

Uploaded CPython 3.6macOS 10.13+ Intel (x86-64, i386)

coremltools-0.8-cp36-none-macosx_10_12_intel.whl (2.2 MB view details)

Uploaded CPython 3.6macOS 10.12+ Intel (x86-64, i386)

coremltools-0.8-cp35-none-macosx_10_13_intel.whl (2.2 MB view details)

Uploaded CPython 3.5macOS 10.13+ Intel (x86-64, i386)

coremltools-0.8-cp35-none-macosx_10_12_intel.whl (2.2 MB view details)

Uploaded CPython 3.5macOS 10.12+ Intel (x86-64, i386)

coremltools-0.8-cp27-none-macosx_10_13_intel.whl (2.2 MB view details)

Uploaded CPython 2.7macOS 10.13+ Intel (x86-64, i386)

coremltools-0.8-cp27-none-macosx_10_12_intel.whl (2.2 MB view details)

Uploaded CPython 2.7macOS 10.12+ Intel (x86-64, i386)

File details

Details for the file coremltools-0.8-py3.6-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for coremltools-0.8-py3.6-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1104af693d0eada279c232d4398861ecd3b4967c3e22b42e7056623fea749eaf
MD5 a969f2df5a9dba88187742e25e86ffc5
BLAKE2b-256 eafe9df327f5e740a91135c0aebe72955e1fec124c02133d28cb98a8c31efb5f

See more details on using hashes here.

File details

Details for the file coremltools-0.8-py3.5-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for coremltools-0.8-py3.5-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3baa710b9b8bc49c544067f49e959313da27bd21a84e48ebbad56ab06aa848e6
MD5 2dedd76e437b2b263776ce782acbf513
BLAKE2b-256 8fabb4dea5ab2503f3e601052958985153cd41bd4f9a336fb74f6789151d976e

See more details on using hashes here.

File details

Details for the file coremltools-0.8-py2.7-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for coremltools-0.8-py2.7-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 42d10154bb38645c621f83509cbcd09b26500834a2894d11ac5570ac6213c771
MD5 80cd1eadc0d270cf1309a2bedb609c50
BLAKE2b-256 8406dfae12fc11f64c1e39c32f46d28cc374997050334fe09f19cd05c1b5d67e

See more details on using hashes here.

File details

Details for the file coremltools-0.8-cp36-none-macosx_10_13_intel.whl.

File metadata

File hashes

Hashes for coremltools-0.8-cp36-none-macosx_10_13_intel.whl
Algorithm Hash digest
SHA256 e882feaa63963cb507e5cd211e2a20c1b3ac75292dbe20911779f82bd6e26df1
MD5 e39d2e17b382d2d91b6feab4c1ce2b69
BLAKE2b-256 5b1af0c4b1477217219a338ed9ac2b5e76ba722652005cbe414ba5b45e0b3bdd

See more details on using hashes here.

File details

Details for the file coremltools-0.8-cp36-none-macosx_10_12_intel.whl.

File metadata

File hashes

Hashes for coremltools-0.8-cp36-none-macosx_10_12_intel.whl
Algorithm Hash digest
SHA256 fd9ff1e2fc60550b156ea60e06b4cfa8aada88f147f275cd00e6e660b9bb291a
MD5 4848d5994551963c6e8052d37553e4b9
BLAKE2b-256 077112e1502bb81f38b5d5cd90e126e8fcafdf1c8bda46f1e7a72be8ef56ccbe

See more details on using hashes here.

File details

Details for the file coremltools-0.8-cp35-none-macosx_10_13_intel.whl.

File metadata

File hashes

Hashes for coremltools-0.8-cp35-none-macosx_10_13_intel.whl
Algorithm Hash digest
SHA256 fd48c6b6a74a54f935779f6cf525aac1193b6f4541440aee87a39895c4e12ef0
MD5 e4f1fea717f279bf650c88d46359d2ae
BLAKE2b-256 b256bb2f67f9ae231fa3f3e621039a0e2e5475cbf0a9444e78b524335eaf52a5

See more details on using hashes here.

File details

Details for the file coremltools-0.8-cp35-none-macosx_10_12_intel.whl.

File metadata

File hashes

Hashes for coremltools-0.8-cp35-none-macosx_10_12_intel.whl
Algorithm Hash digest
SHA256 de270abf98c9a58f54032a5083c78efce7b1e14c916b032c1c517d1126d3a549
MD5 ed8b52eba24ea437f150376dbf95b860
BLAKE2b-256 9eb2ba3698785a7da52fd284b18bba4009e66531879f595a0f20240423db1bff

See more details on using hashes here.

File details

Details for the file coremltools-0.8-cp27-none-macosx_10_13_intel.whl.

File metadata

File hashes

Hashes for coremltools-0.8-cp27-none-macosx_10_13_intel.whl
Algorithm Hash digest
SHA256 1d26f7ae9a07561452748d5665c08f64b2e963fd3282c35157f8eb563e443625
MD5 4ccdb2e442a2d330a03cabb03c5a3f8e
BLAKE2b-256 290a76319972107f4d47709e758b6da580121789b7a6a3f6bf78c17e1ad5e95a

See more details on using hashes here.

File details

Details for the file coremltools-0.8-cp27-none-macosx_10_12_intel.whl.

File metadata

File hashes

Hashes for coremltools-0.8-cp27-none-macosx_10_12_intel.whl
Algorithm Hash digest
SHA256 93e3908682c0c094cf9e611e12b7516ed78cacbe6d3aff2d0cb7762dec11a143
MD5 28d4ea2f6d6b2b79b72676515120c76c
BLAKE2b-256 35c75510c346f845d2c185368bb6076d0a3672353717072199ff7487d06fa7ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page