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.12.1+)

  • 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 Tensorflow (1.0.x, 1.1.x)

  • Xgboost (0.6+)

  • scikit-learn (0.15+)

  • libSVM

More Information

License

Copyright (c) 2017, 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.6.2-py2.7-none-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded Python 2

coremltools-0.6.2-cp27-none-macosx_10_13_intel.whl (2.9 MB view details)

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

coremltools-0.6.2-cp27-none-macosx_10_12_intel.whl (2.9 MB view details)

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

File details

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

File metadata

File hashes

Hashes for coremltools-0.6.2-py2.7-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9c8f3b7d48a92ecb27ba07ee56ccbc34d0d459bc3f608dd2e4709eea42a369c7
MD5 3128a8c39e828039629e07a38e1897b3
BLAKE2b-256 8c1d75b680e5a2f4efce3def48dbb548a89011de1cf151e3f2bce595ae6fd7c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coremltools-0.6.2-cp27-none-macosx_10_13_intel.whl
Algorithm Hash digest
SHA256 8a68a8c25f0f11ea3e979569cd29aa96ea7717396cb01348e0ee311e6d692c66
MD5 f9bca73e8105ed8c0c03f865e1ae6547
BLAKE2b-256 9302e216a40a817d73b429eb2876c40bee004f6556c7bb6695a920a963f345a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coremltools-0.6.2-cp27-none-macosx_10_12_intel.whl
Algorithm Hash digest
SHA256 777f5a55de585a6c3f3509446bd9cdbae4ef28ee016002ee99517f811eab01df
MD5 d3f55a4f4be239a712a29ce5e00e4b44
BLAKE2b-256 f255b21a61ce4be79c2d7a5dce9935fd803fb8bb85e07d53314f44153086bc3d

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