CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 15:15:38 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/"75479f281c4063b4e77b8ef90fabccfc"
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=ioNeHzE%2Fvm5qLxmD1eZhxJOqUTPbYf4Y2lCQLMYmFkyq%2FyRs8TvCCoqBcx03C4tymU7y4CyvCRhDFLUOu89nGyv1qRTMv4OdiW1Hp0j0ONkNUJeA9rinpgJ6Ebtwm1ddi7Da9fF2qxpuNOZ3FQruVGDkBdhcJTEn4xQ%2FdZ7QfBW3Sxf6iflIK7qIHtl4PWSH%2BGUQ0gxnDJ0R8tE7sy%2FR155%2Bq%2B0Loitm5TWd61wUMhwNv1osQ%2BvDH%2BsKd%2Fn63X0nMGizQG3OZiG7FOE1Ihx%2FXw%3D%3D--RYdQMTVoJ8ZgY9Sy--wXMeuCHlYZdttbBaVrYKzQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1009729238.1753110938; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 15:15:38 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 15:15:38 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BAC2:7128E:33118:3B97F:687E5999
ENH Pipeline can now be sliced or indexed (#2568) · scikit-learn/scikit-learn@2207121 · GitHub
Copy file name to clipboardExpand all lines: examples/feature_selection/plot_feature_selection_pipeline.py
Copy file name to clipboardExpand all lines: sklearn/tests/test_pipeline.py
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 26.1k
Commit 2207121
ENH Pipeline can now be sliced or indexed (#2568)
* ENH Pipeline can now be sliced or indexed
* Additional assertion imports for testing
* DOC Documentation and example for Pipeline slicing
* FIX put doctest lines in correct order
* DOC improve compose Pipeline docs
* Fix doctest
* Fix merge error
* DOCs improved after Alex's comments
* This is not the right place to change to LinearSVC
* missed one
* DOC add what's new
* Fix doctest
* doctest tweaks
Co-Authored-By: jnothman <joel.nothman@gmail.com>
* doctest tweaks
Co-Authored-By: jnothman <joel.nothman@gmail.com>
* doctest tweaks
Co-Authored-By: jnothman <joel.nothman@gmail.com>
* fix doctests
* Correct step name
* Update doc/whats_new/v0.21.rst
Co-Authored-By: jnothman <joel.nothman@gmail.com>1 parent ab64926 commit 2207121Copy full SHA for 2207121
File tree
Expand file treeCollapse file tree
5 files changed
+117
-19
lines changedFilter options
- doc
- modules
- whats_new
- examples/feature_selection
- sklearn
- tests
Expand file treeCollapse file tree
5 files changed
+117
-19
lines changed+44-12Lines changed: 44 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 |
| |
49 | 52 |
| |
50 | 53 |
| |
| |||
74 | 77 |
| |
75 | 78 |
| |
76 | 79 |
| |
77 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
78 | 86 |
| |
79 | 87 |
| |
80 |
| - | |
81 |
| - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
82 | 96 |
| |
83 |
| - | |
| 97 | + | |
| 98 | + | |
84 | 99 |
| |
85 |
| - | |
86 |
| - | |
87 |
| - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
88 | 115 |
| |
89 | 116 |
| |
90 | 117 |
| |
| |||
94 | 121 |
| |
95 | 122 |
| |
96 | 123 |
| |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 | 124 |
| |
103 | 125 |
| |
104 | 126 |
| |
| |||
115 | 137 |
| |
116 | 138 |
| |
117 | 139 |
| |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
118 | 150 |
| |
119 | 151 |
| |
120 | 152 |
| |
|
+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
383 | 389 |
| |
384 | 390 |
| |
385 | 391 |
| |
|
examples/feature_selection/plot_feature_selection_pipeline.py
Copy file name to clipboardExpand all lines: examples/feature_selection/plot_feature_selection_pipeline.py+8-2Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 |
| |
9 | 12 |
| |
10 | 13 |
| |
| |||
26 | 29 |
| |
27 | 30 |
| |
28 | 31 |
| |
29 |
| - | |
| 32 | + | |
30 | 33 |
| |
31 | 34 |
| |
32 | 35 |
| |
33 | 36 |
| |
34 | 37 |
| |
| 38 | + | |
| 39 | + | |
| 40 | + |
+36-5Lines changed: 36 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
| 102 | + | |
103 | 103 |
| |
104 |
| - | |
105 |
| - | |
| 104 | + | |
| 105 | + | |
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
110 |
| - | |
111 |
| - | |
| 110 | + | |
| 111 | + | |
112 | 112 |
| |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
113 | 124 |
| |
114 | 125 |
| |
115 | 126 |
| |
| |||
188 | 199 |
| |
189 | 200 |
| |
190 | 201 |
| |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
191 | 222 |
| |
192 | 223 |
| |
193 | 224 |
| |
|
sklearn/tests/test_pipeline.py
Copy file name to clipboardExpand all lines: sklearn/tests/test_pipeline.py+23Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
529 | 529 |
| |
530 | 530 |
| |
531 | 531 |
| |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
532 | 555 |
| |
533 | 556 |
| |
534 | 557 |
| |
|
You can’t perform that action at this time.
0 commit comments