Skip to main content

Decanter AI Core SDK for the easy use of Decanter Core API.

Project description

PyPI version MIT license

MoBagel Decanter AI Core SDK

Decanter AI is a powerful AutoML tool which enables everyone to build ML models and make predictions without data science background. With Decanter AI Core SDK, you can integrate Decanter AI into your application more easily with Python.

It supports actions such as data uploading, model training, and prediction to run in a more efficient way and access results more easily. You can also use Decanter AI Core SDK in Jupyter Notebook for better visualization.

To know more about Decanter AI and how you can be benefited with AutoML, visit MoBagel website and contact us to try it out!

System Requirement

  • python3.7

Install

Install and update using pip:

pip install decanter-ai-core-sdk

Basic Example: Upload Data

from decanter import core

core.enable_default_logger()
client = core.CoreClient(
        username='gp', password='gp-admin', host='http://host:port')

train_file = open(train_file_path, 'rb')
train_data = client.upload(file=train_file, name="train")

# in jupyter notebook just run the block
# no need to call context.run()
client.run()

train_data.show()
$ python -m example.file
15:50:09 [    INFO] [Context] no event loop to close
15:50:09 [    INFO] [Context] connect healthy :)
Progress UploadTask_train:  55%|█████████████████████████████████████████

Example Dataset Path

  • examples/data/ - store the general dataset
  • examples/data/ts_data - store the time series dataset

Example Code

Note:
Since Jupyter already have an event loop (asyncio), SDK will just use the current event loop. See more in here.
More details about asyncio in learn asyncio

import asyncio
loop = asyncio.get_running_loop()
loop.is_running()

Tutorial for Jupyter Notebook

If you want to learn how to build ML models with Decanter AI, visit our jupyter_example.ipynb for step by step tutorial. If you need to handle running tasks well, refer to our jupyter_jobs_handle_example.ipynb.

Development Guide and Flow

  • If you are curious about why Decanter AI Core SDK does certain things the way it does and not differently, visit our Development Guide

Documentation

To understand how we design Decanter AI Core SDK, doc/ contains the complete documentation, including the design system, the use of each API, and the required dependencies to install. Refer to our document page to navigate the complete information.

Contributing

For guidance on setting up a development environment and how to make a contribution to Decanter AI Core SDK, see the contributing guidelines.

Links

For more details on design, guidance on setting up a development environment, and SDK usage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

decanter-ai-core-sdk-1.0.9.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

decanter_ai_core_sdk-1.0.9-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

Details for the file decanter-ai-core-sdk-1.0.9.tar.gz.

File metadata

  • Download URL: decanter-ai-core-sdk-1.0.9.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for decanter-ai-core-sdk-1.0.9.tar.gz
Algorithm Hash digest
SHA256 71dd7c81f6004ae379de72f1fa8ad564caed7131085fb300a7330f34e3edef2a
MD5 421b5cc91e4fbc4fd00204c715117102
BLAKE2b-256 e0caf1c2b1f6f4c62ad1afe0ba493c46ba7e5a6a1e5a81ecd02ee90ec65de882

See more details on using hashes here.

File details

Details for the file decanter_ai_core_sdk-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: decanter_ai_core_sdk-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 38.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for decanter_ai_core_sdk-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bce5ea2dd363b3be1a4ca80ab5b43ca6977690072b3f7e35e7559fd7e2997698
MD5 797618530d3c739176278031bdd62174
BLAKE2b-256 e309ff94abef5c3f6c8bd8123a69084ea7e7fc5895ec2407bbd932467953ae0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page