We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ec53fc commit 8af1e27Copy full SHA for 8af1e27
dance/automl_config/step2_config.py
@@ -2,7 +2,6 @@
2
import itertools
3
4
import wandb
5
-
6
from dance import logger
7
from dance.automl_config.fun2code import fun2code_dict
8
from dance.transforms.misc import SetConfig
@@ -32,6 +31,14 @@
32
31
33
34
def generate_combinations_with_required_elements(elements, required_elements=[]):
+ """
35
+ Parameters
36
+ ----------
37
+ elements
38
+ Optional process in Step 2
39
+ required_elements
40
+ The required process in Step 2
41
42
optional_elements = [x for x in elements if x not in required_elements]
43
44
# Sort optional elements in the same order as in the `elements` list
0 commit comments