SDK¶
After importing:
import tracker_ml.tml as tml
-
tml.login(username: str, password: str)¶ Set username and password to automatically upload run results to tracker.ml :param username: tracker.ml username :param password: tracker.ml password
-
tml.model(model_name: str)¶ Set the model for this run to by tied to. Creates model if it does not exist :param model_name: Name of model (ie “Logistic Regression”)
-
tml.record(key: str, value)¶ Use to record a value relevant to the model :param key: String key that will be used to tag and compare with other models :param value: Value of type str, int, or float
-
tml.mrecord(key: str, value)¶ Use to record a series of values :param key: String key that will be used to tag data :param value: Value of type str, int, or float
-
tml.accuracy(value)¶ Record the accuracy (same as tml.record(“accuracy”, value)) :param value: Value of type str, int, or float