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-2.0-cp36-none-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.6

coremltools-2.0-cp36-none-macosx_10_14_intel.whl (3.1 MB view details)

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

coremltools-2.0-cp36-none-macosx_10_13_intel.whl (3.1 MB view details)

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

coremltools-2.0-cp36-none-macosx_10_12_intel.whl (3.1 MB view details)

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

coremltools-2.0-cp35-none-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.5

coremltools-2.0-cp35-none-macosx_10_14_intel.whl (3.1 MB view details)

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

coremltools-2.0-cp35-none-macosx_10_13_intel.whl (3.1 MB view details)

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

coremltools-2.0-cp35-none-macosx_10_12_intel.whl (3.1 MB view details)

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

coremltools-2.0-cp27-none-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 2.7

coremltools-2.0-cp27-none-macosx_10_14_intel.whl (3.1 MB view details)

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

coremltools-2.0-cp27-none-macosx_10_13_intel.whl (3.1 MB view details)

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

coremltools-2.0-cp27-none-macosx_10_12_intel.whl (3.1 MB view details)

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

File details

Details for the file coremltools-2.0-cp36-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: coremltools-2.0-cp36-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.6
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp36-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f4bb1e5857c74a146fa8e54acde7d5b5069cfda360b73ed4e733c3ede2a0ec62
MD5 cf3dadde115f8ddd238dc066d09ae570
BLAKE2b-256 d4d1ef590ecea35843b16afa28aafb009cddb55c7f8763f4e9bd92063213e9e0

See more details on using hashes here.

File details

Details for the file coremltools-2.0-cp36-none-macosx_10_14_intel.whl.

File metadata

  • Download URL: coremltools-2.0-cp36-none-macosx_10_14_intel.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.6, macOS 10.14+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp36-none-macosx_10_14_intel.whl
Algorithm Hash digest
SHA256 0b204d8b3ac96c6374f262ece54cce4b95505e0525d5b955a4d88a6b7a493af3
MD5 c7cce5ac41f73e3db882fc2e7352fa6d
BLAKE2b-256 932639fbb0c409ad20e09876d091c46250cc249a2734d997a5dd09d2ee417385

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coremltools-2.0-cp36-none-macosx_10_13_intel.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.6, macOS 10.13+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp36-none-macosx_10_13_intel.whl
Algorithm Hash digest
SHA256 43ec8ebec71435176613eeda1446e9f53cf32a06d1ecb61518914883dd2a1058
MD5 32286b15029477f5e8b0603b179c02fe
BLAKE2b-256 08e022d3659411724228a7c96eb6d8f813cca0e9e9f8f0647b1163f1aa7965b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coremltools-2.0-cp36-none-macosx_10_12_intel.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.6, macOS 10.12+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp36-none-macosx_10_12_intel.whl
Algorithm Hash digest
SHA256 f8a8b3f9626d41982ecd408f84847ac84a5167c3316045f00a498422bac0878a
MD5 6ca9128f53a8baee99d7fae47406ca35
BLAKE2b-256 96f4e2e842ff9d7cdbe5f8ee6b44281fc5536fd326d2fae3bfe5b71937b6c809

See more details on using hashes here.

File details

Details for the file coremltools-2.0-cp35-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: coremltools-2.0-cp35-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.5
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp35-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4d3fd552e7671db1dc68f1e5a9901430ba6e1a98a17ef60c4e2d3023c5804261
MD5 27d7395a28bbb19ce1f114673a84f406
BLAKE2b-256 5cb999255415e54819f7d46dc8d9acb35b8abbbae950c61a7c8961282bfe8b50

See more details on using hashes here.

File details

Details for the file coremltools-2.0-cp35-none-macosx_10_14_intel.whl.

File metadata

  • Download URL: coremltools-2.0-cp35-none-macosx_10_14_intel.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.5, macOS 10.14+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp35-none-macosx_10_14_intel.whl
Algorithm Hash digest
SHA256 31f0779d45d1583822d1d3226698c0e2976eecd2a01159dade746ee3c47666da
MD5 edbcbda8f1fa8b0d4e317b402adcf689
BLAKE2b-256 80d984e96cbd62e19018768d4e26a0575aed31c89cf4a24671068ac0647199f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coremltools-2.0-cp35-none-macosx_10_13_intel.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.5, macOS 10.13+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp35-none-macosx_10_13_intel.whl
Algorithm Hash digest
SHA256 b7c130a93b5d46bb31d359c4b8fc3b0bbd242abb9c5418cc005adc1c4ec1c47b
MD5 95b9b0dda66dd17fe58a845725e207da
BLAKE2b-256 1bc7ff4150411bf3a933bce4f0838e392bc6cae3dab258961b0d32379ed5b20e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coremltools-2.0-cp35-none-macosx_10_12_intel.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.5, macOS 10.12+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp35-none-macosx_10_12_intel.whl
Algorithm Hash digest
SHA256 31218a1db9cab7c0e50eb90e94b9211d151e0a0aecd8ca7ee546859eb0dc3f14
MD5 f00b74456e8e473a2b04c72dc449d556
BLAKE2b-256 d00e348374b47f0086a924ceb9f71e10734ee24db1d8e3a4c141813444d72470

See more details on using hashes here.

File details

Details for the file coremltools-2.0-cp27-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: coremltools-2.0-cp27-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 2.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp27-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 92c4729c64f4e26fa6c4dd09531b9cf455b8a2b0505523cab9c4887440d5375e
MD5 0a18735d949ffb59ae1c24f7f54ce068
BLAKE2b-256 76ab6b488ad797a5af3f276297996e5d5b7bff54b474dbd77899fd65202063b2

See more details on using hashes here.

File details

Details for the file coremltools-2.0-cp27-none-macosx_10_14_intel.whl.

File metadata

  • Download URL: coremltools-2.0-cp27-none-macosx_10_14_intel.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 2.7, macOS 10.14+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp27-none-macosx_10_14_intel.whl
Algorithm Hash digest
SHA256 f6e5eae70dbe68861165c87f5f0842994852a59ac7fac4c49a3d73c971ab41f2
MD5 8888f9d06c63b2e72d483e9374f7a3e8
BLAKE2b-256 5555437b7223d5b3dd3349d30d215e87060dcb33b818518d99fe8d35979fc8ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coremltools-2.0-cp27-none-macosx_10_13_intel.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 2.7, macOS 10.13+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp27-none-macosx_10_13_intel.whl
Algorithm Hash digest
SHA256 f320cf7c362842fc74e3557a42d7702c499051398bd4c890a56b7b1eadbb5532
MD5 8964ba4888c413d7d2866d757d5244ae
BLAKE2b-256 cf4c6a8d1eea0f2d39c4e4e6942239067537daecae7ca1a2263253eaeb17eed8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coremltools-2.0-cp27-none-macosx_10_12_intel.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 2.7, macOS 10.12+ Intel (x86-64, i386)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10

File hashes

Hashes for coremltools-2.0-cp27-none-macosx_10_12_intel.whl
Algorithm Hash digest
SHA256 54f0457a70c6c7142153c072c7f8afaf2ef7533921c7cce04da273ec6837f7b4
MD5 517d8fb990edb359aa4259f7c0cf269c
BLAKE2b-256 cb37e2b13420e20889dcd258865f3e095d21f81f54f02b7af6ad7728833c1c9c

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