API Documentation
For the full Python API documentation, please go to https://api-docs.seclea.com.
If you just want to get straight into though, we have the basics here just for you!
Installation
To install the seclea_ai
package, run the following command:
Initialisation
To use the seclea_ai
API, first import the SecleaAI
class and create an instance with your project and organisation details:
Uploading Datasets
To upload a dataset to the Seclea Platform, use the upload_dataset()
method, providing the dataset, dataset name, and metadata:
Uploading Datasets - as separate samples and labels
To upload dataset that is split into samples and labels, use the upload_dataset_split()
method:
Applying Dataset Transformations
To apply and record dataset transformations, use the DatasetTransformation
class from the seclea_ai.transformations
module:
Training and Uploading Models
To upload a model using the seclea_ai
API, follow these steps:
Note that this uses the upload_training_run_split
function that takes datasets as samples and labels. If you prefer to reference a dataset that isn't split in this way you can use the upload_training_run
function instead.
Conclusion
By following the steps outlined in this documentation, you can efficiently integrate the seclea_ai
API into your AI project, enabling seamless data and model management, as well as regulatory compliance and risk management through the Seclea Platform.
Last updated