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_windows-2.1.0-cp37-none-win_amd64.whl (945.9 kB view details)

Uploaded CPython 3.7Windows x86-64

coremltools_windows-2.1.0-cp36-none-win_amd64.whl (945.9 kB view details)

Uploaded CPython 3.6Windows x86-64

coremltools_windows-2.1.0-cp35-none-win_amd64.whl (945.9 kB view details)

Uploaded CPython 3.5Windows x86-64

File details

Details for the file coremltools_windows-2.1.0-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for coremltools_windows-2.1.0-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 ea70871ee65f88f4e6cdaf3af455888d0232a89924c3ccc0e250cd32067abde3
MD5 fef49d271c9ce3d3f458dac851321bea
BLAKE2b-256 d5d69f76525cb79988acbe2f2db601166b8d652a1b3d42ee874a5a97f6a294d3

See more details on using hashes here.

File details

Details for the file coremltools_windows-2.1.0-cp36-none-win_amd64.whl.

File metadata

File hashes

Hashes for coremltools_windows-2.1.0-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 1b45ca8e517f351b50e120bbcff36c5803421eb5038e914808cf98acc70968dd
MD5 023be0b0b6841b10b14c90fc223ef6c3
BLAKE2b-256 e68938bd9fe5ab370279ed139b6067a2737c80fc137831d26487ed9c0f357d2e

See more details on using hashes here.

File details

Details for the file coremltools_windows-2.1.0-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for coremltools_windows-2.1.0-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 065ca12f346ca2997aa3ac4a92ab4753585e60244076feb275b1f93f9888c997
MD5 0eb4130fa88ec1a14b02129509c3e54d
BLAKE2b-256 7cc270e9cad1bdd30b8c8a7ab90ec637e8baddcc3a01135b1105c89a409fcd1d

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