Skip to main content

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, 'r')
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.

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.3.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

decanter_ai_core_sdk-1.0.3-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: decanter-ai-core-sdk-1.0.3.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for decanter-ai-core-sdk-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e1368f609bf368463cdece394b3eac187b92789d12214171028a3d442c702d82
MD5 820d6adf74deb49db7740a9e9c68e712
BLAKE2b-256 8972dc3f70820549b97c5d02bbc7096411962072993bbe2bf72078a8873e5514

See more details on using hashes here.

File details

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

File metadata

  • Download URL: decanter_ai_core_sdk-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for decanter_ai_core_sdk-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 30609c5b3e0b0819de1cf7cdfa3bbe91cda58b3293adc1f96e8c3cda232cc21b
MD5 f2c32c92f0be0a9283f687c8840dc376
BLAKE2b-256 42a9ec01315ab801673598c29b310bae609ecec22ba4ab8662fa992692853b0e

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.11

2 files

1.1.10

2 files

1.1.9

2 files

1.1.8

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.0.3

2 files

0.0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page