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

coremltools-3.0b2-cp37-none-manylinux1_x86_64.whl (5.3 MB view hashes)

Uploaded CPython 3.7

coremltools-3.0b2-cp37-none-macosx_10_15_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.7 macOS 10.15+ intel

coremltools-3.0b2-cp37-none-macosx_10_14_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.7 macOS 10.14+ intel

coremltools-3.0b2-cp37-none-macosx_10_13_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.7 macOS 10.13+ intel

coremltools-3.0b2-cp37-none-macosx_10_12_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.7 macOS 10.12+ intel

coremltools-3.0b2-cp36-none-manylinux1_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.6

coremltools-3.0b2-cp36-none-macosx_10_15_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.6 macOS 10.15+ intel

coremltools-3.0b2-cp36-none-macosx_10_14_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.6 macOS 10.14+ intel

coremltools-3.0b2-cp36-none-macosx_10_13_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.6 macOS 10.13+ intel

coremltools-3.0b2-cp36-none-macosx_10_12_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.6 macOS 10.12+ intel

coremltools-3.0b2-cp35-none-manylinux1_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.5

coremltools-3.0b2-cp35-none-macosx_10_15_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.5 macOS 10.15+ intel

coremltools-3.0b2-cp35-none-macosx_10_14_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.5 macOS 10.14+ intel

coremltools-3.0b2-cp35-none-macosx_10_13_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.5 macOS 10.13+ intel

coremltools-3.0b2-cp35-none-macosx_10_12_intel.whl (5.6 MB view hashes)

Uploaded CPython 3.5 macOS 10.12+ intel

coremltools-3.0b2-cp27-none-manylinux1_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 2.7

coremltools-3.0b2-cp27-none-macosx_10_15_intel.whl (5.6 MB view hashes)

Uploaded CPython 2.7 macOS 10.15+ intel

coremltools-3.0b2-cp27-none-macosx_10_14_intel.whl (5.6 MB view hashes)

Uploaded CPython 2.7 macOS 10.14+ intel

coremltools-3.0b2-cp27-none-macosx_10_13_intel.whl (5.6 MB view hashes)

Uploaded CPython 2.7 macOS 10.13+ intel

coremltools-3.0b2-cp27-none-macosx_10_12_intel.whl (5.6 MB view hashes)

Uploaded CPython 2.7 macOS 10.12+ intel

Supported by

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