Commit 43d4639
Bug fixes (#249)
* Update implementation
* Coding style fixes
* Implementation update
* Style fix
* Turn weighted loss into a constant again, implementation update
* Cocktail branch inconsistencies (#275)
* To nemo
* Revert change in T_curr as results conclusively prove it should be 0
* Revert cutmix change after data from run
* Final conclusion after results
* FIX bug in shake alpha beta
* Updated if is_training condition for shake drop
* Remove temp fix in row cutmic
* Cocktail fixes time debug (#286)
* preprocess inside data validator
* add time debug statements
* Add fixes for categorical data
* add fit_ensemble
* add arlind fix for swa and se
* fix bug in trainer choice fit
* fix ensemble bug
* Correct bug in cleanup
* Cleanup for removing time debug statements
* ablation for adversarial
* shuffle false in dataloader
* drop last false in dataloader
* fix bug for validation set, and cutout and cutmix
* shuffle = False
* Shake Shake updates (#287)
* To test locally
* fix bug in trainer choice fit
* fix ensemble bug
* Correct bug in cleanup
* To test locally
* Cleanup for removing time debug statements
* ablation for adversarial
* shuffle false in dataloader
* drop last false in dataloader
* fix bug for validation set, and cutout and cutmix
* To test locally
* shuffle = False
* To test locally
* updates to search space
* updates to search space
* update branch with search space
* undo search space update
* fix bug in shake shake flag
* limit to shake-even
* restrict to even even
* Add even even and others for shake-drop also
* fix bug in passing alpha beta method
* restrict to only even even
* fix silly bug:
* remove imputer and ordinal encoder for categorical transformer in feature validator
* Address comments from shuhei
* fix issues with ensemble fitting post hoc
* Address comments on the PR
* Fix flake and mypy errors
* Address comments from PR #286
* fix bug in embedding
* Update autoPyTorch/api/tabular_classification.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Update autoPyTorch/datasets/base_dataset.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Update autoPyTorch/datasets/base_dataset.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Update autoPyTorch/pipeline/components/training/trainer/base_trainer.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Address comments from shuhei
* adress comments from shuhei
* fix flake and mypy
* Update autoPyTorch/pipeline/components/training/trainer/RowCutMixTrainer.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Update autoPyTorch/pipeline/tabular_classification.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Update autoPyTorch/pipeline/components/setup/network_backbone/utils.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Update autoPyTorch/pipeline/components/setup/network_backbone/utils.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Update autoPyTorch/pipeline/components/setup/network_backbone/utils.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* increase threads_per_worker
* fix bug in rowcutmix
* Enhancement for the tabular validator. (#291)
* Initial try at an enhancement for the tabular validator
* Adding a few type annotations
* Fixing bugs in implementation
* Adding wrongly deleted code part during rebase
* Fix bug in _get_args
* Fix bug in _get_args
* Addressing Shuhei's comments
* Address Shuhei's comments
* Refactoring code
* Refactoring code
* Typos fix and additional comments
* Replace nan in categoricals with simple imputer
* Remove unused function
* add comment
* Update autoPyTorch/data/tabular_feature_validator.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Update autoPyTorch/data/tabular_feature_validator.py
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Adding unit test for only nall columns in the tabular feature categorical evaluator
* fix bug in remove all nan columns
* Bug fix for making tests run by arlind
* fix flake errors in feature validator
* made typing code uniform
* Apply suggestions from code review
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* address comments from shuhei
* address comments from shuhei (2)
Co-authored-by: Ravin Kohli <kohliravin7@gmail.com>
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* resolve code issues with new versions
* Address comments from shuhei
* make run_traditional_ml function
* implement suggestion from shuhei and fix bug in rowcutmixtrainer
* fix return type docstring
* add better documentation and fix bug in shake_drop_get_bl
* Apply suggestions from code review
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* add test for comparator and other improvements based on PR comments
* fix bug in test
* [fix] Fix the condition in the raising error of all_nan_columns
* [refactor] Unite name conventions of numpy array and pandas dataframe
* [doc] Add the description about the tabular feature transformation
* [doc] Add the description of the tabular feature transformation
* address comments from arlind
* address comments from arlind
* change to as_tensor and address comments from arlind
* correct description for functions in data module
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
Co-authored-by: Arlind Kadra <arlindkadra@gmail.com>
Co-authored-by: nabenabe0928 <shuhei.watanabe.utokyo@gmail.com>
* Addressing Shuhei's comments
* flake8 problems fix
* Update autoPyTorch/api/base_task.py
Add indent.
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
* Update autoPyTorch/api/base_task.py
Add indent.
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
* Update autoPyTorch/data/tabular_feature_validator.py
Add indentation.
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
* Update autoPyTorch/pipeline/components/setup/network_backbone/utils.py
Add line indentation.
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
* Update autoPyTorch/data/tabular_feature_validator.py
Validate if there is a column transformer since for sparse matrices we will not have one.
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
* Update autoPyTorch/utils/implementations.py
Delete uncommented line.
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
* Allow the number of threads to be given by the user
* Removing unnecessary argument and refactoring the attribute.
* Addressing Ravin's comments
* Update autoPyTorch/pipeline/components/setup/network_backbone/utils.py
Updating the function documentation according to the agreed style.
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
* Update autoPyTorch/pipeline/components/setup/network_backbone/utils.py
Providing information on the wrong method provided for shake-shake regularization.
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* add todo for backend and accept changes from shuhei
* Addressing Shuhei's and Ravin's comments
* Addressing Shuhei's and Ravin's comments, bug fix
* Update autoPyTorch/pipeline/components/setup/network_backbone/ResNetBackbone.py
Improving code readibility.
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* Update autoPyTorch/pipeline/components/setup/network_backbone/ResNetBackbone.py
Improving consistency.
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
* bug fix
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
Co-authored-by: nabenabe0928 <47781922+nabenabe0928@users.noreply.github.com>
Co-authored-by: nabenabe0928 <shuhei.watanabe.utokyo@gmail.com>
Co-authored-by: Ravin Kohli <kohliravin7@gmail.com>1 parent 42a7676 commit 43d4639
41 files changed
Lines changed: 1279 additions & 611 deletions
File tree
- autoPyTorch
- api
- datasets
- data
- ensemble
- pipeline
- components
- preprocessing
- image_preprocessing/normalise
- tabular_preprocessing
- encoding
- imputation
- scaling
- setup
- network_backbone
- network_embedding
- network_head
- network
- optimizer
- training
- data_loader
- trainer
- utils
- examples/tabular/40_advanced
- test/test_data
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
277 | 282 | | |
278 | 283 | | |
279 | 284 | | |
| 285 | + | |
| 286 | + | |
280 | 287 | | |
281 | 288 | | |
282 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
53 | | - | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
| 82 | + | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
| |||
263 | 268 | | |
264 | 269 | | |
265 | 270 | | |
| 271 | + | |
| 272 | + | |
266 | 273 | | |
267 | 274 | | |
268 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
48 | 47 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
53 | 52 | | |
54 | | - | |
55 | | - | |
| 53 | + | |
56 | 54 | | |
57 | | - | |
| 55 | + | |
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
74 | | - | |
| 72 | + | |
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
81 | | - | |
| 79 | + | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
85 | | - | |
| 83 | + | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
91 | | - | |
| 89 | + | |
92 | 90 | | |
93 | 91 | | |
94 | 92 | | |
| |||
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
117 | | - | |
| 115 | + | |
118 | 116 | | |
119 | 117 | | |
120 | 118 | | |
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
124 | 122 | | |
| 123 | + | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
| |||
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
134 | | - | |
| 133 | + | |
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
155 | 181 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | | - | |
| 53 | + | |
52 | 54 | | |
53 | | - | |
| 55 | + | |
54 | 56 | | |
55 | | - | |
56 | | - | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | | - | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | | - | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | | - | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | | - | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | | - | |
99 | | - | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
130 | | - | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | | - | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
137 | | - | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
144 | | - | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | | - | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
164 | | - | |
165 | | - | |
| 166 | + | |
| 167 | + | |
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
| |||
0 commit comments