turicreate

(★ 11,160)

Turi Create simplifies the development of custom machine learning models.

File Explorer

Showing a partial file list — download the zip above to see everything.

  • .clang-format
  • .clang-tidy
  • .coveragerc
  • .gitattributes
  • .gitignore
  • .gitlab-ci.yml
  • .pre-commit-config.yaml
  • BUILD.md
  • build_capi.sh
  • CMakeLists.txt
  • CODE_OF_CONDUCT.md
  • configure
  • CONTRIBUTING.md
  • Doxyfile
  • INSTALL_ISSUES.md
  • LICENSE.md
  • LINUX_INSTALL.md
  • LinuxGPU.md
  • README.md

# Installation Guide

python
Prerequisites

Setup Steps

virtualenv venv

Create a Python virtual environment

source ~/venv/bin/activate

Activate the Python virtual environment

pip install -U turicreate

Install Turi Create package

Key Commands

pip install -U turicreate

Install or upgrade the turicreate package.

It is recommended to use and install within a virtual environment.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Showing a partial file list.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

conda activate

View Details ▼

Activate a conda environment.
See also: `conda deactivate`.

conda activate myenv

Activate an existing environment named `myenv`:

conda activate {{path/to/myenv}}

Activate an existing environment located at custom path:

conda activate --stack myenv

Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:

🔍

conda create

View Details ▼

Create new conda environments.

conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy

Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:

conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}

Create a new environment named `myenv` and install packages listed in files:

conda create {{[-p|--prefix]}} {{path/to/myenv}}

Create a new environment at a custom path (i.e. prefix):

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

venv

View Details ▼

Create lightweight virtual environments in Python.

python -m venv {{path/to/virtual_environment}}

Create a Python virtual environment:

{{[.|source]}} {{path/to/virtual_environment}}/bin/activate

Activate the virtual environment (Linux and macOS):

{{path\to\virtual_environment}}\Scripts\activate.bat

Activate the virtual environment (Windows):

🔍

virtualenv

View Details ▼

Create virtual isolated Python environments.

virtualenv {{path/to/venv}}

Create a new environment:

virtualenv --prompt {{prompt_prefix}} {{path/to/venv}}

Customize the prompt prefix:

virtualenv {{[-p|--python]}} {{path/to/pythonbin}} {{path/to/venv}}

Use a different version of Python with virtualenv:

// repository documentation