CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 15:09:47 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/scikit-learn/scikit-learn.git
etag: W/"14a16b40581922d0e2d0707126e2c8cd"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=vvt55n%2BF9sk8biVfWvj060Dj9cOiPg9RYkFNs0ioiflQd3OdTUzCpF%2FvNyzqpejoM7k%2BE%2FOi7jQKi9CydTck6cANzth0M%2FvnGVEar76ORe9BucSgTYucZpGobhBVpykoFOHjZKtqSLeyFzWok1CNazRtq6uRjXgs8VqNGsc%2FHZsqFFz%2BdwOtUNe2kKmOlBHVI3c%2BW4Oim4TzbbnFJmSDL2ctQHFm08wpHGSfJ2HCDKwIuXJMvYWSoLaIeGBP0vuvV3%2Fz5SlKmiSU4wYe5hulsA%3D%3D--3oJEeLhWWW56QAOr--XOoTBDbupEnhYhCXJy4wog%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1555624641.1753110586; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 15:09:46 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 15:09:46 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BE54:36713F:2140F:26DF4:687E583A
LogisticRegression convert to float64 (for SAG solver) (#13243) · scikit-learn/scikit-learn@f02ef9f · GitHub
Copy file name to clipboardExpand all lines: sklearn/linear_model/base.py
Copy file name to clipboardExpand all lines: sklearn/linear_model/logistic.py
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 26.1k
Commit f02ef9f
LogisticRegression convert to float64 (for SAG solver) (#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 f02ef9fCopy full SHA for f02ef9f
File tree
Expand file treeCollapse file tree
17 files changed
+789
-396
lines changedFilter options
- benchmarks
- doc/whats_new
- sklearn
- linear_model
- tests
- utils
- tests
Expand file treeCollapse file tree
17 files changed
+789
-396
lines changed+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + |
+106-45Lines changed: 106 additions & 45 deletions
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 | + |
+5Lines changed: 5 additions & 0 deletions
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 |
| |
|
sklearn/linear_model/base.py
Copy file name to clipboardExpand all lines: sklearn/linear_model/base.py+13-5Lines changed: 13 additions & 5 deletions
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 |
| |
|
sklearn/linear_model/logistic.py
Copy file name to clipboardExpand all lines: sklearn/linear_model/logistic.py+8-4Lines changed: 8 additions & 4 deletions
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 |
| |
|
You can’t perform that action at this time.
0 commit comments