Commit f02ef9f
LogisticRegression convert to float64 (for SAG solver) (scikit-learn#13243)
* Remove unused code
* Squash all the PR 9040 commits
initial PR commit
seq_dataset.pyx generated from template
seq_dataset.pyx generated from template #2
rename variables
fused types consistency test for seq_dataset
a
sklearn/utils/tests/test_seq_dataset.py
new if statement
add doc
sklearn/utils/seq_dataset.pyx.tp
minor changes
minor changes
typo fix
check numeric accuracy only up 5th decimal
Address oliver's request for changing test name
add test for make_dataset and rename a variable in test_seq_dataset
* FIX tests
* TST more numerically stable test_sgd.test_tol_parameter
* Added benchmarks to compare SAGA 32b and 64b
* Fixing gael's comments
* fix
* solve some issues
* PEP8
* Address lesteve comments
* fix merging
* avoid using assert_equal
* use all_close
* use explicit ArrayDataset64 and CSRDataset64
* fix: remove unused import
* Use parametrized to cover ArrayDaset-CSRDataset-32-64 matrix
* for consistency use 32 first then 64 + add 64 suffix to variables
* it would be cool if this worked !!!
* more verbose version
* revert SGD changes as much as possible.
* Add solvers back to bench_saga
* make 64 explicit in the naming
* remove checking native python type + add comparison between 32 64
* Add whatsnew with everyone with commits
* simplify a bit the testing
* simplify the parametrize
* update whatsnew
* fix pep81 parent adc1e59 commit f02ef9f
File tree
17 files changed
+789
-396
lines changed- benchmarks
- doc/whats_new
- sklearn
- linear_model
- tests
- utils
- tests
17 files changed
+789
-396
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
76 | 80 | | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
109 | | - | |
| 114 | + | |
| 115 | + | |
110 | 116 | | |
111 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
112 | 121 | | |
113 | 122 | | |
114 | 123 | | |
| |||
151 | 160 | | |
152 | 161 | | |
153 | 162 | | |
154 | | - | |
155 | 163 | | |
156 | | - | |
| 164 | + | |
157 | 165 | | |
| 166 | + | |
158 | 167 | | |
159 | 168 | | |
160 | | - | |
| 169 | + | |
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
164 | | - | |
165 | | - | |
166 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
167 | 178 | | |
168 | 179 | | |
| 180 | + | |
169 | 181 | | |
170 | 182 | | |
171 | 183 | | |
| |||
177 | 189 | | |
178 | 190 | | |
179 | 191 | | |
180 | | - | |
| 192 | + | |
181 | 193 | | |
182 | 194 | | |
183 | 195 | | |
184 | 196 | | |
185 | | - | |
| 197 | + | |
186 | 198 | | |
187 | | - | |
| 199 | + | |
188 | 200 | | |
189 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
190 | 204 | | |
191 | 205 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
203 | 222 | | |
204 | 223 | | |
205 | 224 | | |
206 | 225 | | |
207 | | - | |
| 226 | + | |
208 | 227 | | |
209 | | - | |
210 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
211 | 239 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | 240 | | |
217 | 241 | | |
218 | 242 | | |
219 | 243 | | |
220 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
221 | 256 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | 257 | | |
226 | 258 | | |
227 | 259 | | |
228 | 260 | | |
229 | 261 | | |
230 | 262 | | |
231 | | - | |
| 263 | + | |
| 264 | + | |
232 | 265 | | |
233 | 266 | | |
234 | | - | |
235 | | - | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
236 | 285 | | |
237 | 286 | | |
238 | 287 | | |
239 | 288 | | |
240 | 289 | | |
| 290 | + | |
241 | 291 | | |
242 | | - | |
243 | | - | |
244 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
165 | 170 | | |
166 | 171 | | |
167 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
82 | 90 | | |
83 | | - | |
84 | | - | |
| 91 | + | |
| 92 | + | |
85 | 93 | | |
86 | 94 | | |
87 | | - | |
| 95 | + | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
967 | | - | |
| 967 | + | |
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
| |||
1486 | 1486 | | |
1487 | 1487 | | |
1488 | 1488 | | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
1489 | 1493 | | |
1490 | 1494 | | |
1491 | 1495 | | |
| |||
1520 | 1524 | | |
1521 | 1525 | | |
1522 | 1526 | | |
1523 | | - | |
1524 | | - | |
1525 | | - | |
| 1527 | + | |
1526 | 1528 | | |
| 1529 | + | |
| 1530 | + | |
1527 | 1531 | | |
1528 | 1532 | | |
1529 | 1533 | | |
| |||
0 commit comments