Skip to main content

The IndoeAi.com helper package

Project description

This package includes helper scripts for interfacing your machine learning code with the IndoeAi.com containerization code.

How to implement

from inodeai import inodeai

# transform input data against your  model (or whatever you want)
# If an error occured please thwor an error message

def modify_data(inputdataPath,outputdataPath):
    
    # take data from inputdataPath
    # Transform that data data via your required model
    # to save data write outputdataPath
    # Return None if no error come.
    # return an error msg if any error ocuured .


please intialize your model or other thing before using wait_for_request

inodeai.wait_for_requests(process_data)

run via command line arguments

python test.py serve input.csv output.csv

usage: test.py [-h] {run} ...

options: -h, --help show this help message and exit

subcommands: {run} commands to choose from run run this model once from the command line

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

inodeai-0.0.6.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

inodeai-0.0.6-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

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