Label

class Label(object)

This namespace represents labels for training data

init()

__init__(info, user)

Parmeters

  • info (dict) : Information about the training data.
  • user (class User): User object for making the data connector.

Fields

  • id : Stores the ID from the 'info' parameter.
  • url : Stores the url as a string for connecting APIs to DS2.ai's desktop application.
  • user : Stores the User object from the 'user' parameter
  • user_token : Stores the user's appcode as a token

repr()

Returns self.id.
__repr__()

Return type

  • str

delete()

Deletes a data connector that has corresponding id and token.
delete()

Return type

  • None
Copy link
On this page
class Label(object)
init()
repr()
delete()