Commit 1824ce3
authored
Refactor/oos handling (#102)
* remove oos utilities from everywhere
* stage progress
* DataHandler: add support of splits with oos data
* fix codestyle
* fix wrong type annotation
* try to add proper multilabel case handling to stratified splitter
* add checking if loaded data already one hot encoded
* stage progress on getting rid of handling anything except from ohe label for multi-label case
* continue
* continue
* update stratifyer
* minor bug fix
* fix typing
* update test data
* update data handler a liitle bit
* update test_nli_transformer
* bug fix in test data
* add oos, multilabel and inputs validation to decision modules
* fix codestyle
* minor bug fix
* add oos handling to metrics
* bug fix and update callback test
* update data_handler test
* update test for stratification
* update description generation utility and corresponding tests
* bug fix in test
* add test for oos handling in metrics functions
* fix oos handling in metrics
* forgot to commit it earlier
* minor refactoring of knn
* fix and update tests for decision modules
* add validation for supporting multi-class problem
* update tests for scoring modules
* update how data_handler reads intent descriptions
* fix adaptive decision and add test on loading and dumping
* fix decision roc_auc and how labels are restores during auto-configuration
* fix some metric
* minor bug fix and update test for inference
* fix codestyle
* stage progress on type fixing
* finish fixing typing
* update test for sklearn
* fix user guides
* fix advanced user guide on datasets
* move data-related tests to a separate directory
* add oos handling test
* fix codestyle
* update doctests for decision modules
* remove clinc script
* move exceptions to a separate submodule
* fix imports
* fix codestyle
* remove unnecessary comments
* fix tests for threshold and tunable modules1 parent 3d18626 commit 1824ce3
File tree
63 files changed
+1260
-1092
lines changed- autointent
- _dataset
- _pipeline
- context
- data_handler
- optimization_info
- generation
- metrics
- modules
- abc
- decision
- embedding
- regexp
- scoring
- _description
- _dnnc
- _knn
- _mlknn
- schemas
- tests
- _transformers
- assets/data
- callback
- context/datahandler
- data
- generation
- metrics
- modules
- decision
- scoring
- pipeline
- user_guides
- advanced
- basic_usage
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
63 files changed
+1260
-1092
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 52 | | |
62 | 53 | | |
63 | 54 | | |
| |||
125 | 116 | | |
126 | 117 | | |
127 | 118 | | |
128 | | - | |
129 | 119 | | |
130 | 120 | | |
131 | 121 | | |
| |||
144 | 134 | | |
145 | 135 | | |
146 | 136 | | |
147 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
148 | 141 | | |
149 | 142 | | |
150 | 143 | | |
| |||
181 | 174 | | |
182 | 175 | | |
183 | 176 | | |
184 | | - | |
185 | | - | |
| 177 | + | |
| 178 | + | |
186 | 179 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 180 | + | |
191 | 181 | | |
192 | 182 | | |
193 | 183 | | |
194 | 184 | | |
195 | 185 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | 186 | | |
217 | 187 | | |
218 | 188 | | |
| |||
221 | 191 | | |
222 | 192 | | |
223 | 193 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
242 | 197 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 69 | + | |
79 | 70 | | |
80 | | - | |
| 71 | + | |
81 | 72 | | |
82 | 73 | | |
83 | 74 | | |
| |||
100 | 91 | | |
101 | 92 | | |
102 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
| |||
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
135 | | - | |
| 140 | + | |
| 141 | + | |
136 | 142 | | |
137 | 143 | | |
138 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
188 | | - | |
| 190 | + | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| |||
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
199 | | - | |
200 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
201 | 206 | | |
202 | 207 | | |
203 | 208 | | |
| |||
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
214 | | - | |
| 219 | + | |
215 | 220 | | |
216 | 221 | | |
217 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments