ServiceClient ¶
Singleton class for handling communication with the server. It encapsulates all the API calls to the server.
upload_train_set ¶
Upload a train set to server and return the train set UID if successful.
Parameters¶
X : array-like of shape (n_samples, n_features) The training input samples. y : array-like of shape (n_samples,) or (n_samples, n_outputs) The target values.
Returns¶
train_set_uid : str The unique ID of the train set in the server.
predict ¶
is_auth_token_outdated ¶
Check if the provided access token is valid and return True if successful.
validate_email ¶
register ¶
login ¶
get_password_policy ¶
Get the password policy from the server.
Returns¶
password_policy : {} The password policy returned from the server.
send_reset_password_email ¶
Let the server send an email for resetting the password.
send_verification_email ¶
Let the server send an email for verifying the email.
retrieve_greeting_messages ¶
Retrieve greeting messages that are new for the user.
get_data_summary ¶
Get the data summary of the user from the server.
Returns¶
data_summary : {} The data summary returned from the server.
download_all_data ¶
Download all data uploaded by the user from the server.
Returns¶
save_path : Path | None The path to the downloaded file. Return None if download fails.