Commit 73a3eab
Fix: Array-API - avoid failing for numpy fit + predict with sparse or array-like X (#34144)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Anne Beyer <anne.beyer@mailbox.org>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>1 parent 8839aae commit 73a3eab
3 files changed
Lines changed: 51 additions & 2 deletions
File tree
- doc/whats_new/upcoming_changes/array-api
- sklearn/utils
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1135 | 1135 | | |
1136 | 1136 | | |
1137 | 1137 | | |
1138 | | - | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
1139 | 1154 | | |
1140 | 1155 | | |
1141 | 1156 | | |
| |||
1148 | 1163 | | |
1149 | 1164 | | |
1150 | 1165 | | |
1151 | | - | |
| 1166 | + | |
| 1167 | + | |
1152 | 1168 | | |
1153 | 1169 | | |
1154 | 1170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
506 | 509 | | |
507 | 510 | | |
508 | 511 | | |
| |||
607 | 610 | | |
608 | 611 | | |
609 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
610 | 638 | | |
611 | 639 | | |
612 | 640 | | |
| |||
0 commit comments