Commit bdebeca
authored
Dataset size reduction fixed, updated TargetValidator to match signatures (#1250)
* Moved to new splitter, moved to util file
* flake8'd
* Fixed errors, added test specifically for CustomStratifiedShuffleSplit
* flake8'd
* Updated docstring
* Updated types in docstring
* reduce_dataset_size_if_too_large supports more types
* flake8'd
* flake8'd
* Updated docstring
* Seperated out the data subsampling into individual functions
* Improved typing from Automl.fit to reduce_dataset_size_if_too_large
* flak8'd
* subsample tested
* Finished testing and flake8'd
* Cleaned up transform function that was touched
* ^
* Removed double typing
* Cleaned up typing of convert_if_sparse
* Cleaned up splitters and added size test
* Cleanup doc in data
* rogue line added was removed
* Test fix
* flake8'd
* Typo fix
* Fixed ordering of things
* Fixed typing and tests of target_validator fit, transform, inv_transform
* Updated doc
* Updated Type return
* Removed elif gaurd
* removed extraneuous overload
* Updated return type of feature validator
* Type fixes for target validator fit
* flake8'd
* Moved to new splitter, moved to util file
* flake8'd
* Fixed errors, added test specifically for CustomStratifiedShuffleSplit
* flake8'd
* Updated docstring
* Updated types in docstring
* reduce_dataset_size_if_too_large supports more types
* flake8'd
* flake8'd
* Updated docstring
* Seperated out the data subsampling into individual functions
* Improved typing from Automl.fit to reduce_dataset_size_if_too_large
* flak8'd
* subsample tested
* Finished testing and flake8'd
* Cleaned up transform function that was touched
* ^
* Removed double typing
* Cleaned up typing of convert_if_sparse
* Cleaned up splitters and added size test
* Cleanup doc in data
* rogue line added was removed
* Test fix
* flake8'd
* Typo fix
* Fixed ordering of things
* Fixed typing and tests of target_validator fit, transform, inv_transform
* Updated doc
* Updated Type return
* Removed elif gaurd
* removed extraneuous overload
* Updated return type of feature validator
* Type fixes for target validator fit
* flake8'd
* Fixed err message str and automl sparse y tests
* Flak8'd
* Fix sort indices
* list type to List
* Remove uneeded comment
* Updated comment to make it more clear
* Comment update
* Fixed warning message for reduce_dataset_if_too_large
* Fix test
* Added check for error message in tests
* Test Updates
* Fix error msg
* reinclude csr y to test
* Reintroduced explicit subsample values test
* flaked
* Missed an uncomment
* Update the comment for test of splitters
* Updated warning message in CustomSplitter
* Update comment in test
* Update tests
* Removed overloads
* Narrowed type of subsample
* Removed overload import
* Fix `todense` giving np.matrix, using `toarray`
* Made subsampling a little less aggresive
* Changed multiplier back to 10
* Allow argument to specfiy how auto-sklearn handles compressing dataset size (#1341)
* Added dataset_compression parameter and validation
* Fix docstring
* Updated docstring for `resampling_strategy`
* Updated param def and memory_allocation can now be absolute
* insert newline
* Fix params into one line
* fix indentation in docs
* fix import breaks
* Allow absolute memory_allocation
* Tests
* Update test on for precision omitted from methods
* Update test for akslearn2 with same args
* Update to use TypedDict for better Mypy parsing
* Added arg to asklearn2
* Updated tests to remove some warnings
* flaked
* Fix broken link?
* Remove TypedDict as it's not supported in Python3.7
* Missing import
* Review changes
* Fix magic mock for python < 3.9
* Fixed bad merge1 parent 01fb3b5 commit bdebeca
File tree
13 files changed
+1881
-616
lines changed- autosklearn
- data
- evaluation
- experimental
- util
- test
- test_automl
- test_data
- test_evaluation
- test_util
13 files changed
+1881
-616
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
| |||
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
121 | | - | |
| 128 | + | |
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
| |||
160 | 167 | | |
161 | 168 | | |
162 | 169 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
191 | 200 | | |
192 | 201 | | |
193 | 202 | | |
| |||
217 | 226 | | |
218 | 227 | | |
219 | 228 | | |
220 | | - | |
| 229 | + | |
221 | 230 | | |
222 | 231 | | |
223 | | - | |
| 232 | + | |
224 | 233 | | |
225 | 234 | | |
226 | 235 | | |
| |||
232 | 241 | | |
233 | 242 | | |
234 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
235 | 256 | | |
236 | 257 | | |
237 | 258 | | |
| |||
490 | 511 | | |
491 | 512 | | |
492 | 513 | | |
493 | | - | |
| 514 | + | |
494 | 515 | | |
495 | 516 | | |
496 | | - | |
| 517 | + | |
497 | 518 | | |
498 | 519 | | |
499 | 520 | | |
| |||
509 | 530 | | |
510 | 531 | | |
511 | 532 | | |
512 | | - | |
513 | | - | |
| 533 | + | |
| 534 | + | |
514 | 535 | | |
515 | 536 | | |
516 | 537 | | |
| |||
588 | 609 | | |
589 | 610 | | |
590 | 611 | | |
| 612 | + | |
| 613 | + | |
591 | 614 | | |
592 | 615 | | |
593 | 616 | | |
| |||
639 | 662 | | |
640 | 663 | | |
641 | 664 | | |
642 | | - | |
| 665 | + | |
643 | 666 | | |
644 | 667 | | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
653 | 694 | | |
654 | 695 | | |
655 | 696 | | |
| |||
1042 | 1083 | | |
1043 | 1084 | | |
1044 | 1085 | | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
1102 | | - | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | 1086 | | |
1157 | 1087 | | |
1158 | 1088 | | |
| |||
1247 | 1177 | | |
1248 | 1178 | | |
1249 | 1179 | | |
1250 | | - | |
| 1180 | + | |
1251 | 1181 | | |
1252 | 1182 | | |
1253 | 1183 | | |
| |||
1536 | 1466 | | |
1537 | 1467 | | |
1538 | 1468 | | |
1539 | | - | |
| 1469 | + | |
1540 | 1470 | | |
1541 | 1471 | | |
1542 | 1472 | | |
| |||
0 commit comments