forked from scikit-learn/scikit-learn.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
477 lines (448 loc) · 26.6 KB
/
index.html
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>scikit-learn: machine learning in Python — scikit-learn 1.0.2 documentation</title>
<link rel="canonical" href="http://scikit-learn.org/stable/index.html" />
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link rel="stylesheet" href="_static/css/vendor/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/plot_directive.css" type="text/css" />
<link rel="stylesheet" href="_static/sg_gallery.css" type="text/css" />
<link rel="stylesheet" href="_static/sg_gallery-binder.css" type="text/css" />
<link rel="stylesheet" href="_static/sg_gallery-dataframe.css" type="text/css" />
<link rel="stylesheet" href="_static/sg_gallery-rendered-html.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
</head>
<body>
<nav id="navbar" class="sk-landing-navbar navbar navbar-expand-md navbar-light bg-light py-0">
<div class="container-fluid sk-landing-container px-0">
<a class="navbar-brand py-0" href="#">
<img
class="sk-brand-img"
src="_static/scikit-learn-logo-small.png"
alt="logo"/>
</a>
<button
id="sk-navbar-toggler"
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="sk-navbar-collapse collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="sk-nav-link nav-link" href="install.html">Install</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link" href="user_guide.html">User Guide</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link" href="modules/classes.html">API</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link" href="auto_examples/index.html">Examples</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link" target="_blank" rel="noopener noreferrer" href="https://blog.scikit-learn.org/">Community</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="getting_started.html" >Getting Started</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="tutorial/index.html" >Tutorial</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="whats_new/v1.0.html" >What's new</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="glossary.html" >Glossary</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="https://scikit-learn.org/dev/developers/index.html" target="_blank" rel="noopener noreferrer">Development</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="faq.html" >FAQ</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="support.html" >Support</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="related_projects.html" >Related packages</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="roadmap.html" >Roadmap</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="about.html" >About us</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="https://github.com/scikit-learn/scikit-learn" >GitHub</a>
</li>
<li class="nav-item">
<a class="sk-nav-link nav-link nav-more-item-mobile-items" href="https://scikit-learn.org/dev/versions.html" >Other Versions and Download</a>
</li>
<li class="nav-item dropdown nav-more-item-dropdown">
<a class="sk-nav-link nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">More</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="sk-nav-dropdown-item dropdown-item" href="getting_started.html" >Getting Started</a>
<a class="sk-nav-dropdown-item dropdown-item" href="tutorial/index.html" >Tutorial</a>
<a class="sk-nav-dropdown-item dropdown-item" href="whats_new/v1.0.html" >What's new</a>
<a class="sk-nav-dropdown-item dropdown-item" href="glossary.html" >Glossary</a>
<a class="sk-nav-dropdown-item dropdown-item" href="https://scikit-learn.org/dev/developers/index.html" target="_blank" rel="noopener noreferrer">Development</a>
<a class="sk-nav-dropdown-item dropdown-item" href="faq.html" >FAQ</a>
<a class="sk-nav-dropdown-item dropdown-item" href="support.html" >Support</a>
<a class="sk-nav-dropdown-item dropdown-item" href="related_projects.html" >Related packages</a>
<a class="sk-nav-dropdown-item dropdown-item" href="roadmap.html" >Roadmap</a>
<a class="sk-nav-dropdown-item dropdown-item" href="about.html" >About us</a>
<a class="sk-nav-dropdown-item dropdown-item" href="https://github.com/scikit-learn/scikit-learn" >GitHub</a>
<a class="sk-nav-dropdown-item dropdown-item" href="https://scikit-learn.org/dev/versions.html" >Other Versions and Download</a>
</div>
</li>
</ul>
<div id="searchbox" role="search">
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input class="sk-search-text-input" type="text" name="q" aria-labelledby="searchlabel" />
<input class="sk-search-text-btn" type="submit" value="Go" />
</form>
</div>
</div>
</div>
</div>
</nav>
<div class="container-fluid sk-landing-bg py-3">
<div class="container sk-landing-container">
<div class="row">
<div class="col-md-6 mb-3 mb-md-0">
<h1 class="sk-landing-header text-white text-monospace">scikit-learn</h1>
<h4 class="sk-landing-subheader text-white font-italic mb-3">Machine Learning in Python</h4>
<a class="btn sk-landing-btn mb-1" href="getting_started.html" role="button">Getting Started</a>
<a class="btn sk-landing-btn mb-1" href="auto_examples/release_highlights/plot_release_highlights_1_0_0.html" role="button">Release Highlights for 1.0</a>
<a class="btn sk-landing-btn mb-1" href="https://github.com/scikit-learn/scikit-learn" role="button">GitHub</a>
</div>
<div class="col-md-6 d-flex">
<ul class="sk-landing-header-body">
<li>Simple and efficient tools for predictive data analysis</li>
<li>Accessible to everybody, and reusable in various contexts</li>
<li>Built on NumPy, SciPy, and matplotlib</li>
<li>Open source, commercially usable - BSD license</li>
</ul>
</div>
</div>
</div>
</div>
<div class="container sk-landing-container pt-3 body" role="main">
<div class="row no-gutters">
<div class="col-md-4 mb-3 px-md-2 sk-px-xl-4">
<div class="card h-100">
<div class="card-body">
<a href="supervised_learning.html#supervised-learning"><h4 class="sk-card-title card-title">Classification</h4></a>
<p class="card-text">Identifying which category an object belongs to.</p>
<p class="card-text"><strong>Applications:</strong> Spam detection, image recognition.</br>
<strong>Algorithms:</strong>
<a href="modules/svm.html#svm-classification">SVM</a>,
<a href="modules/neighbors.html#classification">nearest neighbors</a>,
<a href="modules/ensemble.html#forest">random forest</a>,
and <a href="supervised_learning.html#supervised-learning">more...</a></p>
</div>
<div class="overflow-hidden mx-2 text-center flex-fill">
<a href="auto_examples/classification/plot_classifier_comparison.html" aria-label="Classification">
<img src="_images/sphx_glr_plot_classifier_comparison_001_carousel.png" class="sk-index-img" style="width:initial;max-width:initial" alt="Classifier comparison">
</a>
</div>
<a href="auto_examples/index.html#classification" class="sk-btn-primary btn text-white btn-block" role="button">Examples</a>
</div>
</div>
<div class="col-md-4 mb-3 px-md-2 sk-px-xl-4">
<div class="card h-100">
<div class="card-body">
<a href="supervised_learning.html#supervised-learning"><h4 class="sk-card-title card-title">Regression</h4></a>
<p class="card-text">Predicting a continuous-valued attribute associated with an object.</p>
<p class="card-text"><strong>Applications:</strong> Drug response, Stock prices.</br>
<strong>Algorithms:</strong>
<a href="modules/svm.html#svm-regression">SVR</a>,
<a href="modules/neighbors.html#regression">nearest neighbors</a>,
<a href="modules/ensemble.html#forest">random forest</a>,
and <a href="supervised_learning.html#supervised-learning">more...</a></p>
</div>
<div class="overflow-hidden mx-2 text-center flex-fill">
<a href="auto_examples/ensemble/plot_adaboost_regression.html" aria-label="Regression">
<img src="_images/sphx_glr_plot_adaboost_regression_thumb.png" class="sk-index-img" alt="Decision Tree Regression with AdaBoost">
</a>
</div>
<a href="auto_examples/index.html#examples" class="sk-btn-primary btn text-white btn-block" role="button">Examples</a>
</div>
</div>
<div class="col-md-4 mb-3 px-md-2 sk-px-xl-4">
<div class="card h-100">
<div class="card-body">
<a href="modules/clustering.html#clustering"><h4 class="sk-card-title card-title">Clustering</h4></a>
<p class="card-text">Automatic grouping of similar objects into sets.</p>
<p class="card-text"><strong>Applications:</strong> Customer segmentation, Grouping experiment outcomes</br>
<strong>Algorithms:</strong>
<a href="modules/clustering.html#k-means">k-Means</a>,
<a href="modules/clustering.html#spectral-clustering">spectral clustering</a>,
<a href="modules/clustering.html#mean-shift">mean-shift</a>,
and <a href="modules/clustering.html#clustering">more...</a></p>
</div>
<div class="overflow-hidden mx-2 text-center flex-fill">
<a href="auto_examples/cluster/plot_kmeans_digits.html" aria-label="Clustering">
<img src="_images/sphx_glr_plot_kmeans_digits_thumb.png" class="sk-index-img" alt="A demo of K-Means clustering on the handwritten digits data">
</a>
</div>
<a href="auto_examples/index.html#cluster-examples" class="sk-btn-primary btn text-white btn-block" role="button">Examples</a>
</div>
</div>
<div class="col-md-4 mb-3 px-md-2 sk-px-xl-4">
<div class="card h-100">
<div class="card-body">
<a href="modules/decomposition.html#decompositions"><h4 class="sk-card-title card-title">Dimensionality reduction</h4></a>
<p class="card-text">Reducing the number of random variables to consider.</p>
<p class="card-text"><strong>Applications:</strong> Visualization, Increased efficiency</br>
<strong>Algorithms:</strong>
<a href="modules/decomposition.html#pca">k-Means</a>,
<a href="modules/feature_selection.html#feature-selection">feature selection</a>,
<a href="modules/decomposition.html#nmf">non-negative matrix factorization</a>,
and <a href="modules/decomposition.html#decompositions">more...</a></p>
</div>
<div class="overflow-hidden mx-2 text-center flex-fill">
<a href="auto_examples/decomposition/plot_pca_iris.html" aria-label="Dimensionality reduction">
<img src="_images/sphx_glr_plot_pca_iris_thumb.png" class="sk-index-img" alt="PCA example with Iris Data-set">
</a>
</div>
<a href="auto_examples/index.html#decomposition-examples" class="sk-btn-primary btn text-white btn-block" role="button">Examples</a>
</div>
</div>
<div class="col-md-4 mb-3 px-md-2 sk-px-xl-4">
<div class="card h-100">
<div class="card-body">
<a href="model_selection.html#model-selection"><h4 class="sk-card-title card-title">Model selection</h4></a>
<p class="card-text">Comparing, validating and choosing parameters and models.</p>
<p class="card-text"><strong>Applications:</strong> Improved accuracy via parameter tuning</br>
<strong>Algorithms:</strong>
<a href="modules/grid_search.html#grid-search">grid search</a>,
<a href="modules/cross_validation.html#cross-validation">cross validation</a>,
<a href="modules/model_evaluation.html#model-evaluation">metrics</a>,
and <a href="model_selection.html">more...</a></p>
</div>
<div class="overflow-hidden mx-2 text-center flex-fill">
<a href="auto_examples/model_selection/plot_multi_metric_evaluation.html" aria-label="Model selection">
<img src="_images/sphx_glr_plot_multi_metric_evaluation_thumb.png" class="sk-index-img" alt="Demonstration of multi-metric evaluation on cross_val_score and GridSearchCV">
</a>
</div>
<a href="auto_examples/index.html#model-selection" class="sk-btn-primary btn text-white btn-block" role="button">Examples</a>
</div>
</div>
<div class="col-md-4 mb-3 px-md-2 sk-px-xl-4">
<div class="card h-100">
<div class="card-body">
<a href="modules/preprocessing.html#preprocessing"><h4 class="sk-card-title card-title">Preprocessing</h4></a>
<p class="card-text">Feature extraction and normalization.</p>
<p class="card-text"><strong>Applications:</strong> Transforming input data such as text for use with machine learning algorithms.</br>
<strong>Algorithms:</strong>
<a href="modules/preprocessing.html#preprocessing">preprocessing</a>,
<a href="modules/feature_extraction.html#feature-extraction">feature extraction</a>,
and <a href="modules/preprocessing.html#preprocessing">more...</a></p>
</div>
<div class="overflow-hidden mx-2 text-center flex-fill">
<a href="auto_examples/preprocessing/plot_discretization_strategies.html" aria-label="Preprocessing">
<img src="_images/sphx_glr_plot_discretization_strategies_thumb.png" class="sk-index-img" alt="Demonstrating the different strategies of KBinsDiscretizer">
</a>
</div>
<a href="auto_examples/index.html#preprocessing" class="sk-btn-primary btn text-white btn-block" role="button">Examples</a>
</div>
</div>
</div>
</div>
<div class="container-fluid sk-landing-bg-more-info py-3">
<div class="container sk-landing-container">
<div class="row">
<div class="col-md-4">
<h4 class="sk-landing-call-header">News</h4>
<ul class="sk-landing-call-list list-unstyled">
<li><strong>On-going development:</strong>
<a href="https://scikit-learn.org/dev/whats_new.html"><strong>What's new</strong> (Changelog)</a>
<li><strong>December 2021.</strong> scikit-learn 1.0.2 is available for download (<a href="whats_new/v1.0.html#version-1-0-2">Changelog</a>).
</li>
<li><strong>October 2021.</strong> scikit-learn 1.0.1 is available for download (<a href="whats_new/v1.0.html#version-1-0-1">Changelog</a>).
</li>
<li><strong>September 2021.</strong> scikit-learn 1.0 is available for download (<a href="whats_new/v1.0.html#version-1-0">Changelog</a>).
</li>
<li><strong>April 2021.</strong> scikit-learn 0.24.2 is available for download (<a href="whats_new/v0.24.html#version-0-24-2">Changelog</a>).
</li>
<li><strong>January 2021.</strong> scikit-learn 0.24.1 is available for download (<a href="whats_new/v0.24.html#version-0-24-1">Changelog</a>).
</li>
<li><strong>December 2020.</strong> scikit-learn 0.24.0 is available for download (<a href="whats_new/v0.24.html#version-0-24-0">Changelog</a>).
</li>
<li><strong>August 2020.</strong> scikit-learn 0.23.2 is available for download (<a href="whats_new/v0.23.html#version-0-23-2">Changelog</a>).
</li>
<li><strong>May 2020.</strong> scikit-learn 0.23.1 is available for download (<a href="whats_new/v0.23.html#version-0-23-1">Changelog</a>).
</li>
<li><strong>May 2020.</strong> scikit-learn 0.23.0 is available for download (<a href="whats_new/v0.23.html#version-0-23-0">Changelog</a>).
</li>
<li><strong>Scikit-learn from 0.23 requires Python 3.6 or newer.</strong>
</li>
<li><strong>March 2020.</strong> scikit-learn 0.22.2 is available for download (<a href="whats_new/v0.22.html#version-0-22-2">Changelog</a>).
<li><strong>January 2020.</strong> scikit-learn 0.22.1 is available for download (<a href="whats_new/v0.22.html#version-0-22-1">Changelog</a>).
<li><strong>December 2019.</strong> scikit-learn 0.22 is available for download (<a href="whats_new/v0.22.html#version-0-22-0">Changelog</a> and <a href="auto_examples/release_highlights/plot_release_highlights_0_22_0.html">Release Highlights</a>).
</li>
</ul>
</div>
<div class="col-md-4">
<h4 class="sk-landing-call-header">Community</h4>
<ul class="sk-landing-call-list list-unstyled">
<li><strong>About us:</strong> See <a href="about.html#people">authors</a> and <a href="https://scikit-learn.org/dev/developers/contributing.html" target="_blank" rel="noopener noreferrer">contributing</a></li>
<li><strong>More Machine Learning:</strong> Find <a href="related_projects.html">related projects</a></li>
<li><strong>Questions?</strong> See <a href="faq.html">FAQ</a> and <a href="https://stackoverflow.com/questions/tagged/scikit-learn">stackoverflow</a></li>
<li><strong>Mailing list:</strong> <a href="https://mail.python.org/mailman/listinfo/scikit-learn">[email protected]</a></li>
<li><strong>Gitter:</strong> <a href="https://gitter.im/scikit-learn/scikit-learn">gitter.im/scikit-learn</a></li>
<li><strong>Twitter:</strong> <a href="https://twitter.com/scikit_learn">@scikit_learn</a></li>
<li><strong>Twitter (commits):</strong> <a href="https://twitter.com/sklearn_commits">@sklearn_commits</a></li>
<li><strong>Linkedin:</strong> <a href="https://www.linkedin.com/company/scikit-learn">linkedin/scikit-learn</a></li>
<li><strong>YouTube:</strong> <a href="https://www.youtube.com/channel/UCJosFjYm0ZYVUARxuOZqnnw/playlists">youtube.com/scikit-learn</a></li>
<li><strong>Facebook:</strong> <a href="https://www.facebook.com/scikitlearnofficial/">@scikitlearnofficial</a></li>
<li><strong>Instagram:</strong> <a href="https://www.instagram.com/scikitlearnofficial/">@scikitlearnofficial</a></li>
<li>Communication on all channels should respect <a href="https://www.python.org/psf/conduct/">PSF's code of conduct.</a></li>
</ul>
<a class="btn btn-warning btn-big sk-donate-btn mb-1" href="https://numfocus.org/donate-to-scikit-learn">Help us, <strong>donate!</strong></a>
<a class="btn btn-warning btn-big mb-1" href="about.html#citing-scikit-learn"><strong>Cite us!</strong></a>
</div>
<div class="col-md-4">
<h4 class="sk-landing-call-header">Who uses scikit-learn?</h4>
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block mx-auto sk-who-uses-carousel-img img-thumbnail" src="_images/inria.png" alt="inria">
<em>"We use scikit-learn to support leading-edge basic research [...]"</em>
</div>
<div class="carousel-item">
<img class="d-block mx-auto sk-who-uses-carousel-img img-thumbnail" src="_images/spotify.png" alt="spotify">
<em>"I think it's the most well-designed ML package I've seen so far."</em>
</div>
<div class="carousel-item">
<img class="d-block mx-auto sk-who-uses-carousel-img img-thumbnail" src="_images/change-logo.png" alt="change-logo">
<em>"scikit-learn's ease-of-use, performance and overall variety of algorithms implemented has proved invaluable [...]."</em>
</div>
<div class="carousel-item">
<img class="d-block mx-auto sk-who-uses-carousel-img img-thumbnail" src="_images/telecomparistech.jpg" alt="telecomparistech">
<em>"The great benefit of scikit-learn is its fast learning curve [...]"</em>
</div>
<div class="carousel-item">
<img class="d-block mx-auto sk-who-uses-carousel-img img-thumbnail" src="_images/aweber.png" alt="aweber">
<em>"It allows us to do AWesome stuff we would not otherwise accomplish"</em>
</div>
<div class="carousel-item">
<img class="d-block mx-auto sk-who-uses-carousel-img img-thumbnail" src="_images/yhat.png" alt="yhat">
<em>"scikit-learn makes doing advanced analysis in Python accessible to anyone."</em>
</div>
</div>
</div>
<p class="text-right">
<a href="testimonials/testimonials.html">More testimonials</a>
</p>
</div>
</div>
</div>
</div>
<div class="container-fluid py-3">
<div class="container sk-landing-container">
<a class="sk-footer-funding-link" href="about.html#funding">
<div class="text-center">
<p class="mt-2">
scikit-learn development and maintenance are financially supported by
</p>
<img class="sk-footer-funding-logo" src="_static/inria-small.png" title="INRIA">
<img class="sk-footer-funding-logo" src="_static/sydney-stacked-small.png" title="The University of Sydney">
<img class="sk-footer-funding-logo" src="_static/bcg-small.png" title="Boston Consulting Group" >
<img class="sk-footer-funding-logo" src="_static/axa-small.png" title="AXA Assurances" >
<img class="sk-footer-funding-logo" src="_static/bnp-small.png" title="BNP Paris Bas Cardif" >
<img class="sk-footer-funding-logo" src="_static/fujitsu-small.png" title="Fujitsu" >
<img class="sk-footer-funding-logo" src="_static/microsoft-small.png" title="Microsoft" >
<img class="sk-footer-funding-logo" src="_static/dataiku-small.png" title="Dataiku" >
<img class="sk-footer-funding-logo" src="_static/logo_APHP.png" title="APHP" >
<img class="sk-footer-funding-logo" src="_static/zalando_logo-small.png" title="Zalando SE" >
<img class="sk-footer-funding-logo" src="_static/quansight-labs-small.png" title="Quansight Labs" >
</div>
</a>
</div>
</div>
<script src="_static/js/vendor/bootstrap.min.js"></script>
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-22606712-2', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<script>
$(document).ready(function() {
/* Add a [>>>] button on the top-right corner of code samples to hide
* the >>> and ... prompts and the output and thus make the code
* copyable. */
var div = $('.highlight-python .highlight,' +
'.highlight-python3 .highlight,' +
'.highlight-pycon .highlight,' +
'.highlight-default .highlight')
var pre = div.find('pre');
// get the styles from the current theme
pre.parent().parent().css('position', 'relative');
var hide_text = 'Hide prompts and outputs';
var show_text = 'Show prompts and outputs';
// create and add the button to all the code blocks that contain >>>
div.each(function(index) {
var jthis = $(this);
if (jthis.find('.gp').length > 0) {
var button = $('<span class="copybutton">>>></span>');
button.attr('title', hide_text);
button.data('hidden', 'false');
jthis.prepend(button);
}
// tracebacks (.gt) contain bare text elements that need to be
// wrapped in a span to work with .nextUntil() (see later)
jthis.find('pre:has(.gt)').contents().filter(function() {
return ((this.nodeType == 3) && (this.data.trim().length > 0));
}).wrap('<span>');
});
// define the behavior of the button when it's clicked
$('.copybutton').click(function(e){
e.preventDefault();
var button = $(this);
if (button.data('hidden') === 'false') {
// hide the code output
button.parent().find('.go, .gp, .gt').hide();
button.next('pre').find('.gt').nextUntil('.gp, .go').css('visibility', 'hidden');
button.css('text-decoration', 'line-through');
button.attr('title', show_text);
button.data('hidden', 'true');
} else {
// show the code output
button.parent().find('.go, .gp, .gt').show();
button.next('pre').find('.gt').nextUntil('.gp, .go').css('visibility', 'visible');
button.css('text-decoration', 'none');
button.attr('title', hide_text);
button.data('hidden', 'false');
}
});
/*** Add permalink buttons next to glossary terms ***/
$('dl.glossary > dt[id]').append(function() {
return ('<a class="headerlink" href="#' +
this.getAttribute('id') +
'" title="Permalink to this term">¶</a>');
});
});
</script>
<script src="https://scikit-learn.org/versionwarning.js"></script>
</body>
</html>