Skip to main content

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 in 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) 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.

Release files for coremltools 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for coremltools 0.3.0
File Interpreter ABI Platform
coremltools-0.3.0-py2.7-none-any.whl Details

Release files / coremltools-0.3.0-py2.7-none-any.whl

Download URL coremltools-0.3.0-py2.7-none-any.whl
Size 1.4 MB
SHA-256 checksum
How to use checksums
a984ae0da350cbe97ff9552f3cf5f4b79c630b565a562732c431e020277eacb7
BLAKE2b-256 checksum
How to use checksums
442fdbe06c5205db9bf66866115e3f255f77fa67c5bbc7368288b7761048dac7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

9.0

21 release files

8.3.0

18 release files

8.2

18 release files

8.1

18 release files

8.0

15 release files

7.2

15 release files

7.1

15 release files

7.0

15 release files

6.2

14 release files

6.1

14 release files

6.0

14 release files

5.2.0

13 release files

5.0

13 release files

4.1

25 release files

4.0

31 release files

3.4

20 release files

3.3

20 release files

3.2

20 release files

3.1

20 release files

3.0

20 release files

2.0

12 release files

0.8

9 release files

0.7

3 release files

0.6.3

3 release files

0.6.2

3 release files

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

This release

0.3.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page