Commit 3ef5e13
authored
Fix converter for DecisionTreeClassifier if n_classses == 1 (#1008)
* Fix converter for DecisionTreeClassifier if n_classses == 1
Signed-off-by: Xavier Dupre <[email protected]>
* list or np.array
Signed-off-by: Xavier Dupre <[email protected]>
* lint
Signed-off-by: Xavier Dupre <[email protected]>
* froze lightgbm version
Signed-off-by: Xavier Dupre <[email protected]>
* black
Signed-off-by: Xavier Dupre <[email protected]>
* Refactor with black (#1009)
* Refactor with black
Signed-off-by: Xavier Dupre <[email protected]>
* remove unnecessary skip condition
Signed-off-by: Xavier Dupre <[email protected]>
* freeze lightgbm version
Signed-off-by: Xavier Dupre <[email protected]>
* add ruff to github action
Signed-off-by: Xavier Dupre <[email protected]>
* update badge on README.md
Signed-off-by: Xavier Dupre <[email protected]>
---------
Signed-off-by: Xavier Dupre <[email protected]>
* fix old CI
Signed-off-by: Xavier Dupre <[email protected]>
---------
Signed-off-by: Xavier Dupre <[email protected]>
Signed-off-by: Xavier Dupré <[email protected]>1 parent 8a4a803 commit 3ef5e13
File tree
4 files changed
+97
-6
lines changed- docs/examples
- skl2onnx/operator_converters
- tests
4 files changed
+97
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
127 | | - | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
246 | | - | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
306 | 307 | | |
307 | 308 | | |
308 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
309 | 357 | | |
310 | 358 | | |
311 | 359 | | |
| |||
355 | 403 | | |
356 | 404 | | |
357 | 405 | | |
358 | | - | |
| 406 | + | |
359 | 407 | | |
360 | 408 | | |
361 | 409 | | |
| |||
510 | 558 | | |
511 | 559 | | |
512 | 560 | | |
513 | | - | |
| 561 | + | |
514 | 562 | | |
515 | 563 | | |
516 | 564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments