-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.example_config.yaml
59 lines (55 loc) · 1.59 KB
/
.example_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#Examples of config settings
#===========================
#Uncomment the example that you want to run
#Leave the first two lines of the example commented, though
#The second line of each example provides the command for the terminal
#Example 1
#smt run --config .config.yaml -X data/X_train.npy -a fit_transform
module: ml_project.models.feature_selection
class: RandomSelection
params:
n_components: 1000
random_state: 37
#Example 2 (Warning: might exceed your memory)
#smt run --config .config.yaml -X data/X_train.npy -y data/y_1.csv -a fit
#module: ml_project.models.regression
#class: KernelEstimator
#Example 3
#smt run --config .config.yaml -X data/X_train.npy -y data/y_1.csv -a fit
#module: ml_project.pipeline
#class: Pipeline
#params:
# class_list:
# - module: ml_project.models.feature_selection
# class: RandomSelection
# params:
# random_state: 37
# n_components: 1000
# - module: sklearn.linear_model
# class: LinearRegression
#Example 4
#smt run --config .config.yaml -X data/X_train.npy -y data/y_1.csv -a fit
#module: ml_project.model_selection
#class: GridSearchCV
#params:
# est_module: ml_project.pipeline
# est_class: Pipeline
# est_params:
# - module: ml_project.models.feature_selection
# class: RandomSelection
# params:
# random_state: 37
# - module: sklearn.linear_model
# class: LinearRegression
# param_grid:
# RandomSelection__n_components:
# - 100
# - 1000
# - 10000
# cv:
# module: sklearn.model_selection
# class: KFold
# params:
# n_splits: 3
# shuffle: True
# random_state: 37