You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sets the train/test split to explicit extract of one or two dataset
63
+
64
+
:param object train_selection: A :class:`DSSDatasetSelectionBuilder` to build the settings of the extract of the train dataset. May be None (won't be changed)
65
+
:param object test_selection: A :class:`DSSDatasetSelectionBuilder` to build the settings of the extract of the test dataset. May be None (won't be changed)
66
+
:param str dataset_name: Name of dataset to use for the extracts. If None, the main dataset used to create the ML Task will be used.
67
+
:param str test_dataset_name: Name of a second dataset to use for the test data extract. If None, both extracts are done from dataset_name
68
+
"""
69
+
sp=self.mltask_settings["splitParams"]
70
+
ifdataset_nameisNone:
71
+
raiseException("For explicit splitting a dataset_name is mandatory")
0 commit comments