Skip to main content

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

Project description

MoBagel Decanter AI Core SDK

PyPI version MIT license GitHub Super-Linter

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=???, password=???, host=???)

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

  1. first you need to install jupyter lab: pip install jupyterlab
  2. this is required for progress bar to display correctly: pip install ipywidgets
  3. (optional, conda venv for jupyter notebook) conda install nb_conda
  4. jupyter lab

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

Uploaded Source

Built Distribution

decanter_ai_core_sdk-1.1.11-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: decanter-ai-core-sdk-1.1.11.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for decanter-ai-core-sdk-1.1.11.tar.gz
Algorithm Hash digest
SHA256 3386320c095116fa37cba08ff63f5c0ce071959766584e5cbb2bd300875bf7ca
MD5 2563cb7abf9024ec792d520c6b2c6f5c
BLAKE2b-256 b5b869b7a54ae33eea6a58f8d7022b7a80f8b3a9652327fdad07464450e2ffd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for decanter_ai_core_sdk-1.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 3341f9c2fe04cfffeb0af3b25fad537b76fadf6e5faae45cedb63ef6fc46edc6
MD5 2882ca35e5862442fabbd69add330e37
BLAKE2b-256 f620aed0935f687b54209c0a91d29fe6d572fc3aa559315e5d8c4c8d0de39a17

See more details on using hashes here.

Supported by

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