twinlab.delete_campaign#
- twinlab.delete_campaign(campaign_id, verbose=False, debug=False)[source]#
Delete campaign
Delete campaign from the twinLab cloud.
- Parameters:
(str (campaign_id) – ):
verbose (bool, optional) – Optional. determining level of information returned to the user.
- Return type:
Examples
import pandas as pd import twinlab as tl df = pd.DataFrame({'X': [1, 2, 3, 4], 'y': [1, 4, 9, 16]}) tl.upload_dataset(df, "my_dataset") params = { "dataset_id": "my_dataset", "inputs": ["X"], "outputs": ["y"], } tl.train_campaign(params, "my_campaign") tl.delete_campaign("my_campaign")
Deprecated since version 2.5.0: The twinLab Python client version v1 will be deprecated imminently. Please upgrade to the latest version of the twinLab Python client. Avaible at https://pypi.org/project/twinlab/.