Skip to content

ds2ai.Jupyterproject

class Jupyterproject(object)

This namespace represents label classes for training data, such as in object detection and structured data's category classification

init()

__init__(info, user)
  • Parmeters:
    • info (str): Information about the current Click AI' jupyter project corresponding to the object
    • user (str): User for creating, modifying, deleting the project
  • Fields:
    • id: Jupyter roject id.
    • url: DS2 API url information.
    • user: User information
    • user_token: User token information
    • jupyterservers

repr()

Returns the Click AI's jupyter project ID as a printable format

__repr__()
  • Return type:
    • str

add_server()

Add more servers by renting a learning server with desired performance.

add_server(cloud_type="AWS", region="us-west-1", server_type="g4dn.xlarge")
  • Parmeters:
  • cloud_type (str) : Choose a server leasing company (currently only 'AWS' supported).
  • region (str) : Choose the hosting region.
  • server_type (str) : The server instance of the desired specification.
  • Reference:
    • You can find the corresponding jupyter server deleted.

get_server_status()

Check the server status.

get_server_status()
  • Return type:
    • json

get_jupyterservers()

Returns self.jupyterservers.

get_jupyterservers()
  • Return type:
    • list

refresh()

Reads and refresh jupterproject id, and check whether the project is ready to use.

refresh()
  • Return type:
    • class jupyter project
    • jupyter project id

delete()

Delete the current jupyter project.

delete()
  • Return type:
    • none
  • Reference:
    • You can find the corresponding jupyter project id deleted.