The official DS2.ai SDK for Python. Documentation can be found on SDK guide โ
MLOps with DS2.ai
โ DS2.ai is an integrated AI operation solution that supports all stages from custom AI development to deployment. It is an AI-specialized platform service that collects data, builds a training dataset through data labeling, and enables automatic development of artificial intelligence and easy deployment and operation. โ The Software Development Kit (SDK) consists of python functions that allow you to write your own scripts by accessing DS2.ai's features. โ โ
Installation
โ โ Install via pip: โ
$ pip install ds2ai
โ โ
Getting started
โ โ
1. Getting your own token
โ To use the SDK, you need to get a token, and you can check the token by registering as a member of ds2.ai. After registering the card on the site, you can use the token. โ
โ ### 2. Activate โ To use SDK function code, you have to activate your code, first. โ Run the below code with your own app token. โ ```python import ds2ai โ ds2 = ds2ai.DS2(token) ``` โ Then you can use all functions in [SDK guide](https://docs.ds2.ai/sdk_00_readme/) โ --- โ ## Top 5 Features of [DS2.ai](https://ds2.ai/) SDK โ โ The SDK is composed of 16 classes. Class DS2 provides python functions that are more generally used for AI development, whereas the others provide specific functions for each detailed steps in AI development. โ Here, we want to explain to you examples of using **Top5 function codes that are usable and easy to use.** โ โ ### 1. Auto Labeling โ ```python ds2.start_auto_labeling(data_file, amount, has_label_data=False, predict_column_name=None, frame=60, ai_type="general", autolabeling_type="box", general_ai_type="person", model_id=None, custom_ai_stage=0, preprocessing_ai_type={}, labeling_class=[], training_method="object_detection", name='', description='' )
โ
### 2. AI Training
โ
```python
ds2.train(data_file, training_method, value_for_predict, option="accuracy", frame=60)
">
This function executes auto-labeling immediately from loading data file without using dataconnector. The major parameters include data_file to auto-label, whether the data includes labeled data for a certain part of the dataset, and the type of auto-labeling, such as โboxโ, which will label using bounding boxes.
โ
โ
### 2. AI Training
โ
```python
ds2.train(data_file, training_method, value_for_predict, option="accuracy", frame=60)
This function executes development of AI from CLICK AI in DS2.aiโs console immediately from loading data file without using dataconnector. According to what parameters you use when calling the function, such as data_file, training_method, value_for_predict, and option, it will generate your customized AI models. โ โ
This function deploys AI models to cloud servers with specifications under the desired hosting region. The type of the cloud server is set to โAWSโ as default, but keep in mind that it also supports other cloud services such as Google Cloud. For the use of servers other than AWS, please visit our website and contact our team.
This function returns a the magic code for setting variable values with optimal combinations for AI training. As with the three functions above, it takes the data_file, training_method, value_for_predict as input so that after running the function, a magic code with the whole process of AI training is returned. โ
This function rents an inference training server in preferred cloud environment for Custom training of Click AI. The type of the cloud server is set to โAWSโ as default, but keep in mind that it also supports other cloud services such as Google Cloud. For the use of servers other than AWS, please visit our website and contact our team. โ
โ
Getting Help
โ You can interact with the ds2ai code or software by asking a question or referencing the guide from the underlying open resources. โ
PyStan NOTE: This documentation describes a BETA release of PyStan 3. PyStan is a Python interface to Stan, a package for Bayesian inference. Stanยฎ is