Giter Club home page Giter Club logo

kanasite / turicreate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apple/turicreate

0.0 2.0 0.0 87.73 MB

Turi Create simplifies the development of custom machine learning models.

License: BSD 3-Clause "New" or "Revised" License

CMake 0.72% Shell 0.35% Python 19.56% C++ 72.34% C 2.04% Groovy 0.05% Makefile 0.37% Batchfile 0.01% Java 1.26% Objective-C 0.03% Objective-C++ 0.11% Verilog 0.10% JavaScript 0.34% HTML 0.11% CSS 1.08% Swift 0.92% R 0.63% Rebol 0.01% TeX 0.01%

turicreate's Introduction

Turi Create

Turi Create

Turi Create simplifies the development of custom machine learning models. You don't have to be a machine learning expert to add recommendations, object detection, image classification, image similarity or activity classification to your app.

  • Easy-to-use: Focus on tasks instead of algorithms
  • Visual: Built-in, streaming visualizations to explore your data
  • Flexible: Supports text, images, audio, video and sensor data
  • Fast and Scalable: Work with large datasets on a single machine
  • Ready To Deploy: Export models to Core ML for use in iOS, macOS, watchOS, and tvOS apps

Example: Image classifier with a few lines of code

If you want your app to recognize specific objects in images, you can build your own model with just a few lines of code:

import turicreate as tc

# Load data 
data = tc.SFrame('photoLabel.sframe')

# Create a model
model = tc.image_classifier.create(data, target='photoLabel')

# Make predictions
predictions = model.predict(data)

# Export to Core ML
model.export_coreml('MyClassifier.mlmodel')

It's easy to use the resulting model in an iOS application:

Turi Create

With Turi Create, you can can tackle a number of common scenarios:

You can also work with essential machine learning models, organized into algorithm-based toolkits:

Supported Platforms

Turi Create supports:

  • macOS 10.12+
  • Linux (with glibc 2.12+)
  • Windows 10 (via WSL)

System Requirements

  • Python 2.7 (Python 3.5+ support coming soon)
  • x86_64 architecture

Installation

For detailed instructions for different varieties of Linux see LINUX_INSTALL.md. For common installation issues see INSTALL_ISSUES.md.

We recommend using virtualenv to use, install, or build Turi Create. Be sure to install virtualenv using your system pip.

pip install virtualenv

The method for installing Turi Create follows the standard python package installation steps. To create a Python virtual environment called venv follow these steps:

# Create a Python virtual environment
cd ~
virtualenv venv

To activate your new virtual environment and install Turi Create in this environment, follow these steps:

# Active your virtual environment
source ~/venv/bin/activate

# Install Turi Create in the new virtual environment, pythonenv
(venv) pip install -U turicreate

Documentation

The package User Guide and API Docs contain more details on how to use Turi Create.

GPU Support

Turi Create does not require a GPU, but certain models can be accelerated by the use of a GPU. To enable GPU support after installation of the turicreate package, please perform the following steps:

Make sure to add the CUDA library path to your LD_LIBRARY_PATH environment variable. In the typical case, this means adding the following line to your ~/.bashrc file:

export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH

If you installed the cuDNN files into a separate directory, make sure to separately add it as well. Next step is to uninstall mxnet and install the CUDA-enabled mxnet-cu80 package:

(venv) pip uninstall -y mxnet
(venv) pip install mxnet-cu80==0.11.0

Make sure you install the same version of MXNet as the one turicreate depends on (currently 0.11.0). If you have trouble setting up the GPU, the MXNet installation instructions may offer additional help.

Building From Source

If you want to build Turi Create from source, see BUILD.md.

Contributing

See CONTRIBUTING.md.

turicreate's People

Contributors

srikris avatar gustavla avatar agnanachandran avatar jamesdale avatar balestrapatrick avatar m1cr0xf7 avatar

Watchers

James Cloos avatar 0xkns avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.