-
Notifications
You must be signed in to change notification settings - Fork 2
/
__init__.py
34 lines (27 loc) · 1.36 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright (c) 2017, Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can be
# found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
"""
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.
Core MLTools 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).
For more information: http://developer.apple.com/documentation/coreml
"""
# File format versions
SPECIFICATION_VERSION = 1
# expose sub packages as directories
import converters
import proto
import models
from models import utils
from _scripts.converter import _main