Dataconnector
class Dataconnector(object)
This namespace provides python functions for connecting training data for AI modeling.
init()
Parameters
info (dict) : Information about the training data corresponding to the object.
user (User) : User for making the data connector corresponding to the object.
Fields
id : The id from the 'info' parameter.
url : DS2 API url information.
user : The User object from the 'user' parameter.
user_token : The user's app code as a token.
repr()
Returns self.id.
Return type
str
delete()
Deletes a data connector that has corresponding id and token.
Return type
None
get_magic_code()
Makes a new ipynb file to the designated file path and writes the needed code for data connector.
Parameters
training_method (str) : Training method for the data connector as a string.
value_for_predict (str) : User for making the data connector corresponding to the object.
file_path (str) : Designated file path for saving ipynb file.
Return type
None
Last updated