-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathv0.15.html
1280 lines (1052 loc) · 79.5 KB
/
v0.15.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
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
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
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" data-content_root="../" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="Version 0.15" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://scikit-learn/stable/whats_new/v0.15.html" />
<meta property="og:site_name" content="scikit-learn" />
<meta property="og:description" content="Version 0.15.2: September 4, 2014 Bug fixes: Fixed handling of the p parameter of the Minkowski distance that was previously ignored in nearest neighbors models. By Nikolay Mayorov., Fixed duplicat..." />
<meta property="og:image" content="https://scikit-learn.org/stable/_static/scikit-learn-logo-small.png" />
<meta property="og:image:alt" content="scikit-learn" />
<meta name="description" content="Version 0.15.2: September 4, 2014 Bug fixes: Fixed handling of the p parameter of the Minkowski distance that was previously ignored in nearest neighbors models. By Nikolay Mayorov., Fixed duplicat..." />
<title>Version 0.15 — scikit-learn 1.6.1 documentation</title>
<script data-cfasync="false">
document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
document.documentElement.dataset.theme = localStorage.getItem("theme") || "";
</script>
<!--
this give us a css class that will be invisible only if js is disabled
-->
<noscript>
<style>
.pst-js-only { display: none !important; }
</style>
</noscript>
<!-- Loaded before other Sphinx assets -->
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Vibur" />
<link rel="stylesheet" type="text/css" href="../_static/jupyterlite_sphinx.css?v=e3ca86de" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-binder.css?v=f4aeca0c" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-dataframe.css?v=2082cf3c" />
<link rel="stylesheet" type="text/css" href="../_static/sg_gallery-rendered-html.css?v=1277b6f3" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
<link rel="stylesheet" type="text/css" href="../_static/styles/colors.css?v=cc94ab7d" />
<link rel="stylesheet" type="text/css" href="../_static/styles/custom.css?v=d67e4bb0" />
<!-- So that users can add custom icons -->
<script src="../_static/scripts/fontawesome.js?digest=8878045cc6db502f8baf"></script>
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
<script src="../_static/documentation_options.js?v=d6a008b6"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../_static/copybutton.js?v=97f0b27d"></script>
<script src="../_static/jupyterlite_sphinx.js?v=d6bdf5f8"></script>
<script src="../_static/design-tabs.js?v=f930bc37"></script>
<script data-domain="scikit-learn.org" defer="defer" src="https://views.scientific-python.org/js/script.js"></script>
<script>DOCUMENTATION_OPTIONS.pagename = 'whats_new/v0.15';</script>
<script>
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://scikit-learn.org/dev/_static/versions.json';
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '1.6.1';
DOCUMENTATION_OPTIONS.show_version_warning_banner =
true;
</script>
<script src="../_static/scripts/dropdown.js?v=e2048168"></script>
<script src="../_static/scripts/version-switcher.js?v=a6dd8357"></script>
<script src="../_static/scripts/sg_plotly_resize.js?v=eeb41cab"></script>
<link rel="canonical" href="https://scikit-learn.org/stable/whats_new/v0.15.html" />
<link rel="icon" href="../_static/favicon.ico"/>
<link rel="author" title="About these documents" href="../about.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Version 0.14" href="v0.14.html" />
<link rel="prev" title="Version 0.16" href="v0.16.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docsearch:version" content="1.6" />
</head>
<body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="">
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div>
<div id="pst-scroll-pixel-helper"></div>
<button type="button" class="btn rounded-pill" id="pst-back-to-top">
<i class="fa-solid fa-arrow-up"></i>Back to top</button>
<dialog id="pst-search-dialog">
<form class="bd-search d-flex align-items-center"
action="../search.html"
method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search"
class="form-control"
name="q"
placeholder="Search the docs ..."
aria-label="Search the docs ..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"/>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form>
</dialog>
<div class="pst-async-banner-revealer d-none">
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
</div>
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">
<div class="bd-header__inner bd-page-width">
<button class="pst-navbar-icon sidebar-toggle primary-toggle" aria-label="Site navigation">
<span class="fa-solid fa-bars"></span>
</button>
<div class=" navbar-header-items__start">
<div class="navbar-item">
<a class="navbar-brand logo" href="../index.html">
<img src="../_static/scikit-learn-logo-small.png" class="logo__image only-light" alt="scikit-learn homepage"/>
<img src="../_static/scikit-learn-logo-small.png" class="logo__image only-dark pst-js-only" alt="scikit-learn homepage"/>
</a></div>
</div>
<div class=" navbar-header-items">
<div class="me-auto navbar-header-items__center">
<div class="navbar-item">
<nav>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item ">
<a class="nav-link nav-internal" href="../install.html">
Install
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../user_guide.html">
User Guide
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../api/index.html">
API
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../auto_examples/index.html">
Examples
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-external" href="https://blog.scikit-learn.org/">
Community
</a>
</li>
<li class="nav-item dropdown">
<button class="btn dropdown-toggle nav-item" type="button"
data-bs-toggle="dropdown" aria-expanded="false"
aria-controls="pst-nav-more-links">
More
</button>
<ul id="pst-nav-more-links" class="dropdown-menu">
<li class=" ">
<a class="nav-link dropdown-item nav-internal" href="../getting_started.html">
Getting Started
</a>
</li>
<li class=" current active">
<a class="nav-link dropdown-item nav-internal" href="../whats_new.html">
Release History
</a>
</li>
<li class=" ">
<a class="nav-link dropdown-item nav-internal" href="../glossary.html">
Glossary
</a>
</li>
<li class=" ">
<a class="nav-link dropdown-item nav-external" href="https://scikit-learn.org/dev/developers/index.html">
Development
</a>
</li>
<li class=" ">
<a class="nav-link dropdown-item nav-internal" href="../faq.html">
FAQ
</a>
</li>
<li class=" ">
<a class="nav-link dropdown-item nav-internal" href="../support.html">
Support
</a>
</li>
<li class=" ">
<a class="nav-link dropdown-item nav-internal" href="../related_projects.html">
Related Projects
</a>
</li>
<li class=" ">
<a class="nav-link dropdown-item nav-internal" href="../roadmap.html">
Roadmap
</a>
</li>
<li class=" ">
<a class="nav-link dropdown-item nav-internal" href="../governance.html">
Governance
</a>
</li>
<li class=" ">
<a class="nav-link dropdown-item nav-internal" href="../about.html">
About us
</a>
</li>
</ul>
</li>
</ul>
</nav></div>
</div>
<div class="navbar-header-items__end">
<div class="navbar-item navbar-persistent--container">
<button class="btn btn-sm pst-navbar-icon search-button search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass fa-lg"></i>
</button>
</div>
<div class="navbar-item">
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button pst-js-only" aria-label="Color mode" data-bs-title="Color mode" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title="Light"></i>
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title="Dark"></i>
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title="System Settings"></i>
</button></div>
<div class="navbar-item"><ul class="navbar-icon-links"
aria-label="Icon Links">
<li class="nav-item">
<a href="https://github.com/scikit-learn/scikit-learn" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i>
<span class="sr-only">GitHub</span></a>
</li>
</ul></div>
<div class="navbar-item">
<div class="version-switcher__container dropdown pst-js-only">
<button id="pst-version-switcher-button-2"
type="button"
class="version-switcher__button btn btn-sm dropdown-toggle"
data-bs-toggle="dropdown"
aria-haspopup="listbox"
aria-controls="pst-version-switcher-list-2"
aria-label="Version switcher list"
>
Choose version <!-- this text may get changed later by javascript -->
<span class="caret"></span>
</button>
<div id="pst-version-switcher-list-2"
class="version-switcher__menu dropdown-menu list-group-flush py-0"
role="listbox" aria-labelledby="pst-version-switcher-button-2">
<!-- dropdown will be populated by javascript on page load -->
</div>
</div></div>
</div>
</div>
<div class="navbar-persistent--mobile">
<button class="btn btn-sm pst-navbar-icon search-button search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass fa-lg"></i>
</button>
</div>
<button class="pst-navbar-icon sidebar-toggle secondary-toggle" aria-label="On this page">
<span class="fa-solid fa-outdent"></span>
</button>
</div>
</header>
<div class="bd-container">
<div class="bd-container__inner bd-page-width">
<dialog id="pst-primary-sidebar-modal"></dialog>
<div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar">
<div class="sidebar-header-items sidebar-primary__section">
<div class="sidebar-header-items__center">
<div class="navbar-item">
<nav>
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item ">
<a class="nav-link nav-internal" href="../install.html">
Install
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../user_guide.html">
User Guide
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../api/index.html">
API
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../auto_examples/index.html">
Examples
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-external" href="https://blog.scikit-learn.org/">
Community
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../getting_started.html">
Getting Started
</a>
</li>
<li class="nav-item current active">
<a class="nav-link nav-internal" href="../whats_new.html">
Release History
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../glossary.html">
Glossary
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-external" href="https://scikit-learn.org/dev/developers/index.html">
Development
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../faq.html">
FAQ
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../support.html">
Support
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../related_projects.html">
Related Projects
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../roadmap.html">
Roadmap
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../governance.html">
Governance
</a>
</li>
<li class="nav-item ">
<a class="nav-link nav-internal" href="../about.html">
About us
</a>
</li>
</ul>
</nav></div>
</div>
<div class="sidebar-header-items__end">
<div class="navbar-item">
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button pst-js-only" aria-label="Color mode" data-bs-title="Color mode" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title="Light"></i>
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title="Dark"></i>
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title="System Settings"></i>
</button></div>
<div class="navbar-item"><ul class="navbar-icon-links"
aria-label="Icon Links">
<li class="nav-item">
<a href="https://github.com/scikit-learn/scikit-learn" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i>
<span class="sr-only">GitHub</span></a>
</li>
</ul></div>
<div class="navbar-item">
<div class="version-switcher__container dropdown pst-js-only">
<button id="pst-version-switcher-button-3"
type="button"
class="version-switcher__button btn btn-sm dropdown-toggle"
data-bs-toggle="dropdown"
aria-haspopup="listbox"
aria-controls="pst-version-switcher-list-3"
aria-label="Version switcher list"
>
Choose version <!-- this text may get changed later by javascript -->
<span class="caret"></span>
</button>
<div id="pst-version-switcher-list-3"
class="version-switcher__menu dropdown-menu list-group-flush py-0"
role="listbox" aria-labelledby="pst-version-switcher-button-3">
<!-- dropdown will be populated by javascript on page load -->
</div>
</div></div>
</div>
</div>
<div class="sidebar-primary-items__start sidebar-primary__section">
<div class="sidebar-primary-item">
<nav class="bd-docs-nav bd-links"
aria-label="Section Navigation">
<p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p>
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="v1.6.html">Version 1.6</a></li>
<li class="toctree-l1"><a class="reference internal" href="v1.5.html">Version 1.5</a></li>
<li class="toctree-l1"><a class="reference internal" href="v1.4.html">Version 1.4</a></li>
<li class="toctree-l1"><a class="reference internal" href="v1.3.html">Version 1.3</a></li>
<li class="toctree-l1"><a class="reference internal" href="v1.2.html">Version 1.2</a></li>
<li class="toctree-l1"><a class="reference internal" href="v1.1.html">Version 1.1</a></li>
<li class="toctree-l1"><a class="reference internal" href="v1.0.html">Version 1.0</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.24.html">Version 0.24</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.23.html">Version 0.23</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.22.html">Version 0.22</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.21.html">Version 0.21</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.20.html">Version 0.20</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.19.html">Version 0.19</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.18.html">Version 0.18</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.17.html">Version 0.17</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.16.html">Version 0.16</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Version 0.15</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.14.html">Version 0.14</a></li>
<li class="toctree-l1"><a class="reference internal" href="v0.13.html">Version 0.13</a></li>
<li class="toctree-l1"><a class="reference internal" href="older_versions.html">Older Versions</a></li>
</ul>
</div>
</nav></div>
</div>
<div class="sidebar-primary-items__end sidebar-primary__section">
</div>
</div>
<main id="main-content" class="bd-main" role="main">
<div class="bd-content">
<div class="bd-article-container">
<div class="bd-header-article d-print-none">
<div class="header-article-items header-article__inner">
<div class="header-article-items__start">
<div class="header-article-item">
<nav aria-label="Breadcrumb" class="d-print-none">
<ul class="bd-breadcrumbs">
<li class="breadcrumb-item breadcrumb-home">
<a href="../index.html" class="nav-link" aria-label="Home">
<i class="fa-solid fa-home"></i>
</a>
</li>
<li class="breadcrumb-item"><a href="../whats_new.html" class="nav-link">Release History</a></li>
<li class="breadcrumb-item active" aria-current="page"><span class="ellipsis">Version 0.15</span></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div id="searchbox"></div>
<article class="bd-article">
<section id="version-0-15">
<h1>Version 0.15<a class="headerlink" href="#version-0-15" title="Link to this heading">#</a></h1>
<section id="version-0-15-2">
<span id="changes-0-15-2"></span><h2>Version 0.15.2<a class="headerlink" href="#version-0-15-2" title="Link to this heading">#</a></h2>
<p><strong>September 4, 2014</strong></p>
<section id="bug-fixes">
<h3>Bug fixes<a class="headerlink" href="#bug-fixes" title="Link to this heading">#</a></h3>
<ul class="simple">
<li><p>Fixed handling of the <code class="docutils literal notranslate"><span class="pre">p</span></code> parameter of the Minkowski distance that was
previously ignored in nearest neighbors models. By <a class="reference external" href="https://github.com/nmayorov">Nikolay
Mayorov</a>.</p></li>
<li><p>Fixed duplicated alphas in <a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoLars.html#sklearn.linear_model.LassoLars" title="sklearn.linear_model.LassoLars"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LassoLars</span></code></a> with early
stopping on 32 bit Python. By <a class="reference external" href="https://bsky.app/profile/ogrisel.bsky.social">Olivier Grisel</a> and <a class="reference external" href="http://fa.bianp.net">Fabian Pedregosa</a>.</p></li>
<li><p>Fixed the build under Windows when scikit-learn is built with MSVC while
NumPy is built with MinGW. By <a class="reference external" href="https://bsky.app/profile/ogrisel.bsky.social">Olivier Grisel</a> and <a class="reference external" href="https://github.com/FedericoV">Federico
Vaggi</a>.</p></li>
<li><p>Fixed an array index overflow bug in the coordinate descent solver. By
<a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>.</p></li>
<li><p>Better handling of numpy 1.9 deprecation warnings. By <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>.</p></li>
<li><p>Removed unnecessary data copy in <a class="reference internal" href="../modules/generated/sklearn.cluster.KMeans.html#sklearn.cluster.KMeans" title="sklearn.cluster.KMeans"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.KMeans</span></code></a>.
By <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>.</p></li>
<li><p>Explicitly close open files to avoid <code class="docutils literal notranslate"><span class="pre">ResourceWarnings</span></code> under Python 3.
By Calvin Giles.</p></li>
<li><p>The <code class="docutils literal notranslate"><span class="pre">transform</span></code> of <a class="reference internal" href="../modules/generated/sklearn.discriminant_analysis.LinearDiscriminantAnalysis.html#sklearn.discriminant_analysis.LinearDiscriminantAnalysis" title="sklearn.discriminant_analysis.LinearDiscriminantAnalysis"><code class="xref py py-class docutils literal notranslate"><span class="pre">discriminant_analysis.LinearDiscriminantAnalysis</span></code></a>
now projects the input on the most discriminant directions. By Martin Billinger.</p></li>
<li><p>Fixed potential overflow in <code class="docutils literal notranslate"><span class="pre">_tree.safe_realloc</span></code> by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p>Performance optimization in <a class="reference internal" href="../modules/generated/sklearn.isotonic.IsotonicRegression.html#sklearn.isotonic.IsotonicRegression" title="sklearn.isotonic.IsotonicRegression"><code class="xref py py-class docutils literal notranslate"><span class="pre">isotonic.IsotonicRegression</span></code></a>.
By Robert Bradshaw.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">nose</span></code> is non-longer a runtime dependency to import <code class="docutils literal notranslate"><span class="pre">sklearn</span></code>, only for
running the tests. By <a class="reference external" href="https://joelnothman.com/">Joel Nothman</a>.</p></li>
<li><p>Many documentation and website fixes by <a class="reference external" href="https://joelnothman.com/">Joel Nothman</a>, <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>
<a class="reference external" href="https://github.com/MattpSoftware">Matt Pico</a>, and others.</p></li>
</ul>
</section>
</section>
<section id="version-0-15-1">
<span id="changes-0-15-1"></span><h2>Version 0.15.1<a class="headerlink" href="#version-0-15-1" title="Link to this heading">#</a></h2>
<p><strong>August 1, 2014</strong></p>
<section id="id1">
<h3>Bug fixes<a class="headerlink" href="#id1" title="Link to this heading">#</a></h3>
<ul class="simple">
<li><p>Made <code class="docutils literal notranslate"><span class="pre">cross_validation.cross_val_score</span></code> use
<code class="docutils literal notranslate"><span class="pre">cross_validation.KFold</span></code> instead of
<code class="docutils literal notranslate"><span class="pre">cross_validation.StratifiedKFold</span></code> on multi-output classification
problems. By <a class="reference external" href="https://github.com/nmayorov">Nikolay Mayorov</a>.</p></li>
<li><p>Support unseen labels <a class="reference internal" href="../modules/generated/sklearn.preprocessing.LabelBinarizer.html#sklearn.preprocessing.LabelBinarizer" title="sklearn.preprocessing.LabelBinarizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">preprocessing.LabelBinarizer</span></code></a> to restore
the default behavior of 0.14.1 for backward compatibility. By
<a class="reference external" href="https://github.com/hamsal">Hamzeh Alsalhi</a>.</p></li>
<li><p>Fixed the <a class="reference internal" href="../modules/generated/sklearn.cluster.KMeans.html#sklearn.cluster.KMeans" title="sklearn.cluster.KMeans"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.KMeans</span></code></a> stopping criterion that prevented early
convergence detection. By Edward Raff and <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>.</p></li>
<li><p>Fixed the behavior of <a class="reference internal" href="../modules/generated/sklearn.multiclass.OneVsOneClassifier.html#sklearn.multiclass.OneVsOneClassifier" title="sklearn.multiclass.OneVsOneClassifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">multiclass.OneVsOneClassifier</span></code></a>.
in case of ties at the per-class vote level by computing the correct
per-class sum of prediction scores. By <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
<li><p>Made <code class="docutils literal notranslate"><span class="pre">cross_validation.cross_val_score</span></code> and
<code class="docutils literal notranslate"><span class="pre">grid_search.GridSearchCV</span></code> accept Python lists as input data.
This is especially useful for cross-validation and model selection of
text processing pipelines. By <a class="reference external" href="https://amueller.github.io/">Andreas Müller</a>.</p></li>
<li><p>Fixed data input checks of most estimators to accept input data that
implements the NumPy <code class="docutils literal notranslate"><span class="pre">__array__</span></code> protocol. This is the case for
for <code class="docutils literal notranslate"><span class="pre">pandas.Series</span></code> and <code class="docutils literal notranslate"><span class="pre">pandas.DataFrame</span></code> in recent versions of
pandas. By <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>.</p></li>
<li><p>Fixed a regression for <a class="reference internal" href="../modules/generated/sklearn.linear_model.SGDClassifier.html#sklearn.linear_model.SGDClassifier" title="sklearn.linear_model.SGDClassifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.SGDClassifier</span></code></a> with
<code class="docutils literal notranslate"><span class="pre">class_weight="auto"</span></code> on data with non-contiguous labels. By
<a class="reference external" href="https://bsky.app/profile/ogrisel.bsky.social">Olivier Grisel</a>.</p></li>
</ul>
</section>
</section>
<section id="changes-0-15">
<span id="id2"></span><h2>Version 0.15<a class="headerlink" href="#changes-0-15" title="Link to this heading">#</a></h2>
<p><strong>July 15, 2014</strong></p>
<section id="highlights">
<h3>Highlights<a class="headerlink" href="#highlights" title="Link to this heading">#</a></h3>
<ul class="simple">
<li><p>Many speed and memory improvements all across the code</p></li>
<li><p>Huge speed and memory improvements to random forests (and extra
trees) that also benefit better from parallel computing.</p></li>
<li><p>Incremental fit to <a class="reference internal" href="../modules/generated/sklearn.neural_network.BernoulliRBM.html#sklearn.neural_network.BernoulliRBM" title="sklearn.neural_network.BernoulliRBM"><code class="xref py py-class docutils literal notranslate"><span class="pre">BernoulliRBM</span></code></a></p></li>
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.cluster.AgglomerativeClustering.html#sklearn.cluster.AgglomerativeClustering" title="sklearn.cluster.AgglomerativeClustering"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.AgglomerativeClustering</span></code></a> for hierarchical
agglomerative clustering with average linkage, complete linkage and
ward strategies.</p></li>
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.linear_model.RANSACRegressor.html#sklearn.linear_model.RANSACRegressor" title="sklearn.linear_model.RANSACRegressor"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.RANSACRegressor</span></code></a> for robust regression
models.</p></li>
<li><p>Added dimensionality reduction with <a class="reference internal" href="../modules/generated/sklearn.manifold.TSNE.html#sklearn.manifold.TSNE" title="sklearn.manifold.TSNE"><code class="xref py py-class docutils literal notranslate"><span class="pre">manifold.TSNE</span></code></a> which can be
used to visualize high-dimensional data.</p></li>
</ul>
</section>
<section id="changelog">
<h3>Changelog<a class="headerlink" href="#changelog" title="Link to this heading">#</a></h3>
<section id="new-features">
<h4>New features<a class="headerlink" href="#new-features" title="Link to this heading">#</a></h4>
<ul class="simple">
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.ensemble.BaggingClassifier.html#sklearn.ensemble.BaggingClassifier" title="sklearn.ensemble.BaggingClassifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.BaggingClassifier</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.ensemble.BaggingRegressor.html#sklearn.ensemble.BaggingRegressor" title="sklearn.ensemble.BaggingRegressor"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.BaggingRegressor</span></code></a> meta-estimators for ensembling
any kind of base estimator. See the <a class="reference internal" href="../modules/ensemble.html#bagging"><span class="std std-ref">Bagging</span></a> section of
the user guide for details and examples. By <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>.</p></li>
<li><p>New unsupervised feature selection algorithm
<a class="reference internal" href="../modules/generated/sklearn.feature_selection.VarianceThreshold.html#sklearn.feature_selection.VarianceThreshold" title="sklearn.feature_selection.VarianceThreshold"><code class="xref py py-class docutils literal notranslate"><span class="pre">feature_selection.VarianceThreshold</span></code></a>, by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.linear_model.RANSACRegressor.html#sklearn.linear_model.RANSACRegressor" title="sklearn.linear_model.RANSACRegressor"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.RANSACRegressor</span></code></a> meta-estimator for the robust
fitting of regression models. By <a class="reference external" href="https://github.com/ahojnnes">Johannes Schönberger</a>.</p></li>
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.cluster.AgglomerativeClustering.html#sklearn.cluster.AgglomerativeClustering" title="sklearn.cluster.AgglomerativeClustering"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.AgglomerativeClustering</span></code></a> for hierarchical
agglomerative clustering with average linkage, complete linkage and
ward strategies, by <a class="reference external" href="https://github.com/nellev">Nelle Varoquaux</a> and <a class="reference external" href="http://gael-varoquaux.info">Gael Varoquaux</a>.</p></li>
<li><p>Shorthand constructors <a class="reference internal" href="../modules/generated/sklearn.pipeline.make_pipeline.html#sklearn.pipeline.make_pipeline" title="sklearn.pipeline.make_pipeline"><code class="xref py py-func docutils literal notranslate"><span class="pre">pipeline.make_pipeline</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.pipeline.make_union.html#sklearn.pipeline.make_union" title="sklearn.pipeline.make_union"><code class="xref py py-func docutils literal notranslate"><span class="pre">pipeline.make_union</span></code></a> were added by <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p>Shuffle option for <code class="docutils literal notranslate"><span class="pre">cross_validation.StratifiedKFold</span></code>.
By <a class="reference external" href="https://github.com/jblackburne">Jeffrey Blackburne</a>.</p></li>
<li><p>Incremental learning (<code class="docutils literal notranslate"><span class="pre">partial_fit</span></code>) for Gaussian Naive Bayes by
Imran Haque.</p></li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">partial_fit</span></code> to <a class="reference internal" href="../modules/generated/sklearn.neural_network.BernoulliRBM.html#sklearn.neural_network.BernoulliRBM" title="sklearn.neural_network.BernoulliRBM"><code class="xref py py-class docutils literal notranslate"><span class="pre">BernoulliRBM</span></code></a>
By <a class="reference external" href="https://github.com/dsullivan7">Danny Sullivan</a>.</p></li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">learning_curve</span></code> utility to
chart performance with respect to training size. See
<a class="reference internal" href="../auto_examples/model_selection/plot_learning_curve.html#sphx-glr-auto-examples-model-selection-plot-learning-curve-py"><span class="std std-ref">Plotting Learning Curves and Checking Models’ Scalability</span></a>. By Alexander Fabisch.</p></li>
<li><p>Add positive option in <a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoCV.html#sklearn.linear_model.LassoCV" title="sklearn.linear_model.LassoCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">LassoCV</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.linear_model.ElasticNetCV.html#sklearn.linear_model.ElasticNetCV" title="sklearn.linear_model.ElasticNetCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">ElasticNetCV</span></code></a>.
By Brian Wignall and <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a>.</p></li>
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.linear_model.MultiTaskElasticNetCV.html#sklearn.linear_model.MultiTaskElasticNetCV" title="sklearn.linear_model.MultiTaskElasticNetCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.MultiTaskElasticNetCV</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.linear_model.MultiTaskLassoCV.html#sklearn.linear_model.MultiTaskLassoCV" title="sklearn.linear_model.MultiTaskLassoCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.MultiTaskLassoCV</span></code></a>. By <a class="reference external" href="https://manojbits.wordpress.com">Manoj Kumar</a>.</p></li>
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.manifold.TSNE.html#sklearn.manifold.TSNE" title="sklearn.manifold.TSNE"><code class="xref py py-class docutils literal notranslate"><span class="pre">manifold.TSNE</span></code></a>. By Alexander Fabisch.</p></li>
</ul>
</section>
<section id="enhancements">
<h4>Enhancements<a class="headerlink" href="#enhancements" title="Link to this heading">#</a></h4>
<ul class="simple">
<li><p>Add sparse input support to <a class="reference internal" href="../modules/generated/sklearn.ensemble.AdaBoostClassifier.html#sklearn.ensemble.AdaBoostClassifier" title="sklearn.ensemble.AdaBoostClassifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.AdaBoostClassifier</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.ensemble.AdaBoostRegressor.html#sklearn.ensemble.AdaBoostRegressor" title="sklearn.ensemble.AdaBoostRegressor"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.AdaBoostRegressor</span></code></a> meta-estimators.
By <a class="reference external" href="https://github.com/hamsal">Hamzeh Alsalhi</a>.</p></li>
<li><p>Memory improvements of decision trees, by <a class="reference external" href="http://www.ajoly.org">Arnaud Joly</a>.</p></li>
<li><p>Decision trees can now be built in best-first manner by using <code class="docutils literal notranslate"><span class="pre">max_leaf_nodes</span></code>
as the stopping criteria. Refactored the tree code to use either a
stack or a priority queue for tree building.
By <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a> and <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>.</p></li>
<li><p>Decision trees can now be fitted on fortran- and c-style arrays, and
non-continuous arrays without the need to make a copy.
If the input array has a different dtype than <code class="docutils literal notranslate"><span class="pre">np.float32</span></code>, a fortran-
style copy will be made since fortran-style memory layout has speed
advantages. By <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a> and <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>.</p></li>
<li><p>Speed improvement of regression trees by optimizing the
the computation of the mean square error criterion. This lead
to speed improvement of the tree, forest and gradient boosting tree
modules. By <a class="reference external" href="http://www.ajoly.org">Arnaud Joly</a></p></li>
<li><p>The <code class="docutils literal notranslate"><span class="pre">img_to_graph</span></code> and <code class="docutils literal notranslate"><span class="pre">grid_tograph</span></code> functions in
<a class="reference internal" href="../api/sklearn.feature_extraction.html#module-sklearn.feature_extraction.image" title="sklearn.feature_extraction.image"><code class="xref py py-mod docutils literal notranslate"><span class="pre">sklearn.feature_extraction.image</span></code></a> now return <code class="docutils literal notranslate"><span class="pre">np.ndarray</span></code>
instead of <code class="docutils literal notranslate"><span class="pre">np.matrix</span></code> when <code class="docutils literal notranslate"><span class="pre">return_as=np.ndarray</span></code>. See the
Notes section for more information on compatibility.</p></li>
<li><p>Changed the internal storage of decision trees to use a struct array.
This fixed some small bugs, while improving code and providing a small
speed gain. By <a class="reference external" href="https://joelnothman.com/">Joel Nothman</a>.</p></li>
<li><p>Reduce memory usage and overhead when fitting and predicting with forests
of randomized trees in parallel with <code class="docutils literal notranslate"><span class="pre">n_jobs</span> <span class="pre">!=</span> <span class="pre">1</span></code> by leveraging new
threading backend of joblib 0.8 and releasing the GIL in the tree fitting
Cython code. By <a class="reference external" href="https://bsky.app/profile/ogrisel.bsky.social">Olivier Grisel</a> and <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>.</p></li>
<li><p>Speed improvement of the <code class="docutils literal notranslate"><span class="pre">sklearn.ensemble.gradient_boosting</span></code> module.
By <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a> and <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a>.</p></li>
<li><p>Various enhancements to the <code class="docutils literal notranslate"><span class="pre">sklearn.ensemble.gradient_boosting</span></code>
module: a <code class="docutils literal notranslate"><span class="pre">warm_start</span></code> argument to fit additional trees,
a <code class="docutils literal notranslate"><span class="pre">max_leaf_nodes</span></code> argument to fit GBM style trees,
a <code class="docutils literal notranslate"><span class="pre">monitor</span></code> fit argument to inspect the estimator during training, and
refactoring of the verbose code. By <a class="reference external" href="https://sites.google.com/site/peterprettenhofer/">Peter Prettenhofer</a>.</p></li>
<li><p>Faster <code class="docutils literal notranslate"><span class="pre">sklearn.ensemble.ExtraTrees</span></code> by caching feature values.
By <a class="reference external" href="http://www.ajoly.org">Arnaud Joly</a>.</p></li>
<li><p>Faster depth-based tree building algorithm such as decision tree,
random forest, extra trees or gradient tree boosting (with depth based
growing strategy) by avoiding trying to split on found constant features
in the sample subset. By <a class="reference external" href="http://www.ajoly.org">Arnaud Joly</a>.</p></li>
<li><p>Add <code class="docutils literal notranslate"><span class="pre">min_weight_fraction_leaf</span></code> pre-pruning parameter to tree-based
methods: the minimum weighted fraction of the input samples required to be
at a leaf node. By <a class="reference external" href="https://github.com/ndawe">Noel Dawe</a>.</p></li>
<li><p>Added <a class="reference internal" href="../modules/generated/sklearn.metrics.pairwise_distances_argmin_min.html#sklearn.metrics.pairwise_distances_argmin_min" title="sklearn.metrics.pairwise_distances_argmin_min"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.pairwise_distances_argmin_min</span></code></a>, by Philippe Gervais.</p></li>
<li><p>Added predict method to <a class="reference internal" href="../modules/generated/sklearn.cluster.AffinityPropagation.html#sklearn.cluster.AffinityPropagation" title="sklearn.cluster.AffinityPropagation"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.AffinityPropagation</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.cluster.MeanShift.html#sklearn.cluster.MeanShift" title="sklearn.cluster.MeanShift"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.MeanShift</span></code></a>, by <a class="reference external" href="http://www.mblondel.org">Mathieu Blondel</a>.</p></li>
<li><p>Vector and matrix multiplications have been optimised throughout the
library by <a class="reference external" href="http://denis-engemann.de">Denis Engemann</a>, and <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a>.
In particular, they should take less memory with older NumPy versions
(prior to 1.7.2).</p></li>
<li><p>Precision-recall and ROC examples now use train_test_split, and have more
explanation of why these metrics are useful. By <a class="reference external" href="https://kastnerkyle.github.io/">Kyle Kastner</a></p></li>
<li><p>The training algorithm for <a class="reference internal" href="../modules/generated/sklearn.decomposition.NMF.html#sklearn.decomposition.NMF" title="sklearn.decomposition.NMF"><code class="xref py py-class docutils literal notranslate"><span class="pre">decomposition.NMF</span></code></a> is faster for
sparse matrices and has much lower memory complexity, meaning it will
scale up gracefully to large datasets. By <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p>Added svd_method option with default value to “randomized” to
<a class="reference internal" href="../modules/generated/sklearn.decomposition.FactorAnalysis.html#sklearn.decomposition.FactorAnalysis" title="sklearn.decomposition.FactorAnalysis"><code class="xref py py-class docutils literal notranslate"><span class="pre">decomposition.FactorAnalysis</span></code></a> to save memory and
significantly speedup computation by <a class="reference external" href="http://denis-engemann.de">Denis Engemann</a>, and
<a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a>.</p></li>
<li><p>Changed <code class="docutils literal notranslate"><span class="pre">cross_validation.StratifiedKFold</span></code> to try and
preserve as much of the original ordering of samples as possible so as
not to hide overfitting on datasets with a non-negligible level of
samples dependency.
By <a class="reference external" href="http://danielnouri.org">Daniel Nouri</a> and <a class="reference external" href="https://bsky.app/profile/ogrisel.bsky.social">Olivier Grisel</a>.</p></li>
<li><p>Add multi-output support to <a class="reference internal" href="../modules/generated/sklearn.gaussian_process.GaussianProcessRegressor.html#sklearn.gaussian_process.GaussianProcessRegressor" title="sklearn.gaussian_process.GaussianProcessRegressor"><code class="xref py py-class docutils literal notranslate"><span class="pre">gaussian_process.GaussianProcessRegressor</span></code></a>
by John Novak.</p></li>
<li><p>Support for precomputed distance matrices in nearest neighbor estimators
by <a class="reference external" href="https://twitter.com/robertlayton">Robert Layton</a> and <a class="reference external" href="https://joelnothman.com/">Joel Nothman</a>.</p></li>
<li><p>Norm computations optimized for NumPy 1.6 and later versions by
<a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>. In particular, the k-means algorithm no longer
needs a temporary data structure the size of its input.</p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.dummy.DummyClassifier.html#sklearn.dummy.DummyClassifier" title="sklearn.dummy.DummyClassifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">dummy.DummyClassifier</span></code></a> can now be used to predict a constant
output value. By <a class="reference external" href="https://manojbits.wordpress.com">Manoj Kumar</a>.</p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.dummy.DummyRegressor.html#sklearn.dummy.DummyRegressor" title="sklearn.dummy.DummyRegressor"><code class="xref py py-class docutils literal notranslate"><span class="pre">dummy.DummyRegressor</span></code></a> has now a strategy parameter which allows
to predict the mean, the median of the training set or a constant
output value. By <a class="reference external" href="https://github.com/maheshakya">Maheshakya Wijewardena</a>.</p></li>
<li><p>Multi-label classification output in multilabel indicator format
is now supported by <a class="reference internal" href="../modules/generated/sklearn.metrics.roc_auc_score.html#sklearn.metrics.roc_auc_score" title="sklearn.metrics.roc_auc_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.roc_auc_score</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.metrics.average_precision_score.html#sklearn.metrics.average_precision_score" title="sklearn.metrics.average_precision_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.average_precision_score</span></code></a> by <a class="reference external" href="http://www.ajoly.org">Arnaud Joly</a>.</p></li>
<li><p>Significant performance improvements (more than 100x speedup for
large problems) in <a class="reference internal" href="../modules/generated/sklearn.isotonic.IsotonicRegression.html#sklearn.isotonic.IsotonicRegression" title="sklearn.isotonic.IsotonicRegression"><code class="xref py py-class docutils literal notranslate"><span class="pre">isotonic.IsotonicRegression</span></code></a> by
<a class="reference external" href="https://tullo.ch/">Andrew Tulloch</a>.</p></li>
<li><p>Speed and memory usage improvements to the SGD algorithm for linear
models: it now uses threads, not separate processes, when <code class="docutils literal notranslate"><span class="pre">n_jobs>1</span></code>.
By <a class="reference external" href="https://github.com/larsmans">Lars Buitinck</a>.</p></li>
<li><p>Grid search and cross validation allow NaNs in the input arrays so that
preprocessors such as <code class="docutils literal notranslate"><span class="pre">preprocessing.Imputer</span></code> can be trained within the cross
validation loop, avoiding potentially skewed results.</p></li>
<li><p>Ridge regression can now deal with sample weights in feature space
(only sample space until then). By <a class="reference external" href="https://github.com/eickenberg">Michael Eickenberg</a>.
Both solutions are provided by the Cholesky solver.</p></li>
<li><p>Several classification and regression metrics now support weighted
samples with the new <code class="docutils literal notranslate"><span class="pre">sample_weight</span></code> argument:
<a class="reference internal" href="../modules/generated/sklearn.metrics.accuracy_score.html#sklearn.metrics.accuracy_score" title="sklearn.metrics.accuracy_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.accuracy_score</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.zero_one_loss.html#sklearn.metrics.zero_one_loss" title="sklearn.metrics.zero_one_loss"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.zero_one_loss</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.precision_score.html#sklearn.metrics.precision_score" title="sklearn.metrics.precision_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.precision_score</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.average_precision_score.html#sklearn.metrics.average_precision_score" title="sklearn.metrics.average_precision_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.average_precision_score</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.f1_score.html#sklearn.metrics.f1_score" title="sklearn.metrics.f1_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.f1_score</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.fbeta_score.html#sklearn.metrics.fbeta_score" title="sklearn.metrics.fbeta_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.fbeta_score</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.recall_score.html#sklearn.metrics.recall_score" title="sklearn.metrics.recall_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.recall_score</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.roc_auc_score.html#sklearn.metrics.roc_auc_score" title="sklearn.metrics.roc_auc_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.roc_auc_score</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.explained_variance_score.html#sklearn.metrics.explained_variance_score" title="sklearn.metrics.explained_variance_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.explained_variance_score</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.mean_squared_error.html#sklearn.metrics.mean_squared_error" title="sklearn.metrics.mean_squared_error"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.mean_squared_error</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.mean_absolute_error.html#sklearn.metrics.mean_absolute_error" title="sklearn.metrics.mean_absolute_error"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.mean_absolute_error</span></code></a>,
<a class="reference internal" href="../modules/generated/sklearn.metrics.r2_score.html#sklearn.metrics.r2_score" title="sklearn.metrics.r2_score"><code class="xref py py-func docutils literal notranslate"><span class="pre">metrics.r2_score</span></code></a>.
By <a class="reference external" href="https://github.com/ndawe">Noel Dawe</a>.</p></li>
<li><p>Speed up of the sample generator
<a class="reference internal" href="../modules/generated/sklearn.datasets.make_multilabel_classification.html#sklearn.datasets.make_multilabel_classification" title="sklearn.datasets.make_multilabel_classification"><code class="xref py py-func docutils literal notranslate"><span class="pre">datasets.make_multilabel_classification</span></code></a>. By <a class="reference external" href="https://joelnothman.com/">Joel Nothman</a>.</p></li>
</ul>
</section>
<section id="documentation-improvements">
<h4>Documentation improvements<a class="headerlink" href="#documentation-improvements" title="Link to this heading">#</a></h4>
<ul class="simple">
<li><p>The Working With Text Data tutorial
has now been worked in to the main documentation’s tutorial section.
Includes exercises and skeletons for tutorial presentation.
Original tutorial created by several authors including
<a class="reference external" href="https://bsky.app/profile/ogrisel.bsky.social">Olivier Grisel</a>, Lars Buitinck and many others.
Tutorial integration into the scikit-learn documentation
by <a class="reference external" href="https://github.com/jaquesgrobler">Jaques Grobler</a></p></li>
<li><p>Added <a class="reference internal" href="../computing/computational_performance.html#computational-performance"><span class="std std-ref">Computational Performance</span></a>
documentation. Discussion and examples of prediction latency / throughput
and different factors that have influence over speed. Additional tips for
building faster models and choosing a relevant compromise between speed
and predictive power.
By <a class="reference external" href="https://github.com/oddskool">Eustache Diemert</a>.</p></li>
</ul>
</section>
<section id="id3">
<h4>Bug fixes<a class="headerlink" href="#id3" title="Link to this heading">#</a></h4>
<ul class="simple">
<li><p>Fixed bug in <a class="reference internal" href="../modules/generated/sklearn.decomposition.MiniBatchDictionaryLearning.html#sklearn.decomposition.MiniBatchDictionaryLearning" title="sklearn.decomposition.MiniBatchDictionaryLearning"><code class="xref py py-class docutils literal notranslate"><span class="pre">decomposition.MiniBatchDictionaryLearning</span></code></a> :
<code class="docutils literal notranslate"><span class="pre">partial_fit</span></code> was not working properly.</p></li>
<li><p>Fixed bug in <code class="docutils literal notranslate"><span class="pre">linear_model.stochastic_gradient</span></code> :
<code class="docutils literal notranslate"><span class="pre">l1_ratio</span></code> was used as <code class="docutils literal notranslate"><span class="pre">(1.0</span> <span class="pre">-</span> <span class="pre">l1_ratio)</span></code> .</p></li>
<li><p>Fixed bug in <a class="reference internal" href="../modules/generated/sklearn.multiclass.OneVsOneClassifier.html#sklearn.multiclass.OneVsOneClassifier" title="sklearn.multiclass.OneVsOneClassifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">multiclass.OneVsOneClassifier</span></code></a> with string
labels</p></li>
<li><p>Fixed a bug in <a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoCV.html#sklearn.linear_model.LassoCV" title="sklearn.linear_model.LassoCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">LassoCV</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.linear_model.ElasticNetCV.html#sklearn.linear_model.ElasticNetCV" title="sklearn.linear_model.ElasticNetCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">ElasticNetCV</span></code></a>: they would not
pre-compute the Gram matrix with <code class="docutils literal notranslate"><span class="pre">precompute=True</span></code> or
<code class="docutils literal notranslate"><span class="pre">precompute="auto"</span></code> and <code class="docutils literal notranslate"><span class="pre">n_samples</span> <span class="pre">></span> <span class="pre">n_features</span></code>. By <a class="reference external" href="https://manojbits.wordpress.com">Manoj Kumar</a>.</p></li>
<li><p>Fixed incorrect estimation of the degrees of freedom in
<a class="reference internal" href="../modules/generated/sklearn.feature_selection.f_regression.html#sklearn.feature_selection.f_regression" title="sklearn.feature_selection.f_regression"><code class="xref py py-func docutils literal notranslate"><span class="pre">feature_selection.f_regression</span></code></a> when variates are not centered.
By <a class="reference external" href="https://github.com/VirgileFritsch">Virgile Fritsch</a>.</p></li>
<li><p>Fixed a race condition in parallel processing with
<code class="docutils literal notranslate"><span class="pre">pre_dispatch</span> <span class="pre">!=</span> <span class="pre">"all"</span></code> (for instance, in <code class="docutils literal notranslate"><span class="pre">cross_val_score</span></code>).
By <a class="reference external" href="https://bsky.app/profile/ogrisel.bsky.social">Olivier Grisel</a>.</p></li>
<li><p>Raise error in <a class="reference internal" href="../modules/generated/sklearn.cluster.FeatureAgglomeration.html#sklearn.cluster.FeatureAgglomeration" title="sklearn.cluster.FeatureAgglomeration"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.FeatureAgglomeration</span></code></a> and
<code class="docutils literal notranslate"><span class="pre">cluster.WardAgglomeration</span></code> when no samples are given,
rather than returning meaningless clustering.</p></li>
<li><p>Fixed bug in <code class="docutils literal notranslate"><span class="pre">gradient_boosting.GradientBoostingRegressor</span></code> with
<code class="docutils literal notranslate"><span class="pre">loss='huber'</span></code>: <code class="docutils literal notranslate"><span class="pre">gamma</span></code> might have not been initialized.</p></li>
<li><p>Fixed feature importances as computed with a forest of randomized trees
when fit with <code class="docutils literal notranslate"><span class="pre">sample_weight</span> <span class="pre">!=</span> <span class="pre">None</span></code> and/or with <code class="docutils literal notranslate"><span class="pre">bootstrap=True</span></code>.
By <a class="reference external" href="http://www.montefiore.ulg.ac.be/~glouppe/">Gilles Louppe</a>.</p></li>
</ul>
</section>
</section>
<section id="api-changes-summary">
<h3>API changes summary<a class="headerlink" href="#api-changes-summary" title="Link to this heading">#</a></h3>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">sklearn.hmm</span></code> is deprecated. Its removal is planned
for the 0.17 release.</p></li>
<li><p>Use of <code class="docutils literal notranslate"><span class="pre">covariance.EllipticEnvelop</span></code> has now been removed after
deprecation.
Please use <a class="reference internal" href="../modules/generated/sklearn.covariance.EllipticEnvelope.html#sklearn.covariance.EllipticEnvelope" title="sklearn.covariance.EllipticEnvelope"><code class="xref py py-class docutils literal notranslate"><span class="pre">covariance.EllipticEnvelope</span></code></a> instead.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">cluster.Ward</span></code> is deprecated. Use
<a class="reference internal" href="../modules/generated/sklearn.cluster.AgglomerativeClustering.html#sklearn.cluster.AgglomerativeClustering" title="sklearn.cluster.AgglomerativeClustering"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.AgglomerativeClustering</span></code></a> instead.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">cluster.WardClustering</span></code> is deprecated. Use</p></li>
<li><p><a class="reference internal" href="../modules/generated/sklearn.cluster.AgglomerativeClustering.html#sklearn.cluster.AgglomerativeClustering" title="sklearn.cluster.AgglomerativeClustering"><code class="xref py py-class docutils literal notranslate"><span class="pre">cluster.AgglomerativeClustering</span></code></a> instead.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">cross_validation.Bootstrap</span></code> is deprecated.
<code class="docutils literal notranslate"><span class="pre">cross_validation.KFold</span></code> or
<code class="docutils literal notranslate"><span class="pre">cross_validation.ShuffleSplit</span></code> are recommended instead.</p></li>
<li><p>Direct support for the sequence of sequences (or list of lists) multilabel
format is deprecated. To convert to and from the supported binary
indicator matrix format, use
<a class="reference internal" href="../modules/generated/sklearn.preprocessing.MultiLabelBinarizer.html#sklearn.preprocessing.MultiLabelBinarizer" title="sklearn.preprocessing.MultiLabelBinarizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">preprocessing.MultiLabelBinarizer</span></code></a>.
By <a class="reference external" href="https://joelnothman.com/">Joel Nothman</a>.</p></li>
<li><p>Add score method to <a class="reference internal" href="../modules/generated/sklearn.decomposition.PCA.html#sklearn.decomposition.PCA" title="sklearn.decomposition.PCA"><code class="xref py py-class docutils literal notranslate"><span class="pre">decomposition.PCA</span></code></a> following the model of
probabilistic PCA and deprecate
<code class="docutils literal notranslate"><span class="pre">ProbabilisticPCA</span></code> model whose
score implementation is not correct. The computation now also exploits the
matrix inversion lemma for faster computation. By <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a>.</p></li>
<li><p>The score method of <a class="reference internal" href="../modules/generated/sklearn.decomposition.FactorAnalysis.html#sklearn.decomposition.FactorAnalysis" title="sklearn.decomposition.FactorAnalysis"><code class="xref py py-class docutils literal notranslate"><span class="pre">decomposition.FactorAnalysis</span></code></a>
now returns the average log-likelihood of the samples. Use score_samples
to get log-likelihood of each sample. By <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a>.</p></li>
<li><p>Generating boolean masks (the setting <code class="docutils literal notranslate"><span class="pre">indices=False</span></code>)
from cross-validation generators is deprecated.
Support for masks will be removed in 0.17.
The generators have produced arrays of indices by default since 0.10.
By <a class="reference external" href="https://joelnothman.com/">Joel Nothman</a>.</p></li>
<li><p>1-d arrays containing strings with <code class="docutils literal notranslate"><span class="pre">dtype=object</span></code> (as used in Pandas)
are now considered valid classification targets. This fixes a regression
from version 0.13 in some classifiers. By <a class="reference external" href="https://joelnothman.com/">Joel Nothman</a>.</p></li>
<li><p>Fix wrong <code class="docutils literal notranslate"><span class="pre">explained_variance_ratio_</span></code> attribute in
<code class="docutils literal notranslate"><span class="pre">RandomizedPCA</span></code>.
By <a class="reference external" href="http://alexandre.gramfort.net">Alexandre Gramfort</a>.</p></li>
<li><p>Fit alphas for each <code class="docutils literal notranslate"><span class="pre">l1_ratio</span></code> instead of <code class="docutils literal notranslate"><span class="pre">mean_l1_ratio</span></code> in
<a class="reference internal" href="../modules/generated/sklearn.linear_model.ElasticNetCV.html#sklearn.linear_model.ElasticNetCV" title="sklearn.linear_model.ElasticNetCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.ElasticNetCV</span></code></a> and <a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoCV.html#sklearn.linear_model.LassoCV" title="sklearn.linear_model.LassoCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LassoCV</span></code></a>.
This changes the shape of <code class="docutils literal notranslate"><span class="pre">alphas_</span></code> from <code class="docutils literal notranslate"><span class="pre">(n_alphas,)</span></code> to
<code class="docutils literal notranslate"><span class="pre">(n_l1_ratio,</span> <span class="pre">n_alphas)</span></code> if the <code class="docutils literal notranslate"><span class="pre">l1_ratio</span></code> provided is a 1-D array like
object of length greater than one.
By <a class="reference external" href="https://manojbits.wordpress.com">Manoj Kumar</a>.</p></li>
<li><p>Fix <a class="reference internal" href="../modules/generated/sklearn.linear_model.ElasticNetCV.html#sklearn.linear_model.ElasticNetCV" title="sklearn.linear_model.ElasticNetCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.ElasticNetCV</span></code></a> and <a class="reference internal" href="../modules/generated/sklearn.linear_model.LassoCV.html#sklearn.linear_model.LassoCV" title="sklearn.linear_model.LassoCV"><code class="xref py py-class docutils literal notranslate"><span class="pre">linear_model.LassoCV</span></code></a>
when fitting intercept and input data is sparse. The automatic grid
of alphas was not computed correctly and the scaling with normalize
was wrong. By <a class="reference external" href="https://manojbits.wordpress.com">Manoj Kumar</a>.</p></li>
<li><p>Fix wrong maximal number of features drawn (<code class="docutils literal notranslate"><span class="pre">max_features</span></code>) at each split
for decision trees, random forests and gradient tree boosting.
Previously, the count for the number of drawn features started only after
one non constant features in the split. This bug fix will affect
computational and generalization performance of those algorithms in the
presence of constant features. To get back previous generalization
performance, you should modify the value of <code class="docutils literal notranslate"><span class="pre">max_features</span></code>.
By <a class="reference external" href="http://www.ajoly.org">Arnaud Joly</a>.</p></li>
<li><p>Fix wrong maximal number of features drawn (<code class="docutils literal notranslate"><span class="pre">max_features</span></code>) at each split
for <a class="reference internal" href="../modules/generated/sklearn.ensemble.ExtraTreesClassifier.html#sklearn.ensemble.ExtraTreesClassifier" title="sklearn.ensemble.ExtraTreesClassifier"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.ExtraTreesClassifier</span></code></a> and
<a class="reference internal" href="../modules/generated/sklearn.ensemble.ExtraTreesRegressor.html#sklearn.ensemble.ExtraTreesRegressor" title="sklearn.ensemble.ExtraTreesRegressor"><code class="xref py py-class docutils literal notranslate"><span class="pre">ensemble.ExtraTreesRegressor</span></code></a>. Previously, only non constant
features in the split was counted as drawn. Now constant features are
counted as drawn. Furthermore at least one feature must be non constant
in order to make a valid split. This bug fix will affect
computational and generalization performance of extra trees in the
presence of constant features. To get back previous generalization
performance, you should modify the value of <code class="docutils literal notranslate"><span class="pre">max_features</span></code>.
By <a class="reference external" href="http://www.ajoly.org">Arnaud Joly</a>.</p></li>
<li><p>Fix <a class="reference internal" href="../modules/generated/sklearn.utils.class_weight.compute_class_weight.html#sklearn.utils.class_weight.compute_class_weight" title="sklearn.utils.class_weight.compute_class_weight"><code class="xref py py-func docutils literal notranslate"><span class="pre">utils.class_weight.compute_class_weight</span></code></a> when <code class="docutils literal notranslate"><span class="pre">class_weight=="auto"</span></code>.
Previously it was broken for input of non-integer <code class="docutils literal notranslate"><span class="pre">dtype</span></code> and the
weighted array that was returned was wrong. By <a class="reference external" href="https://manojbits.wordpress.com">Manoj Kumar</a>.</p></li>
<li><p>Fix <code class="docutils literal notranslate"><span class="pre">cross_validation.Bootstrap</span></code> to return <code class="docutils literal notranslate"><span class="pre">ValueError</span></code>
when <code class="docutils literal notranslate"><span class="pre">n_train</span> <span class="pre">+</span> <span class="pre">n_test</span> <span class="pre">></span> <span class="pre">n</span></code>. By <a class="reference external" href="https://github.com/rphlypo">Ronald Phlypo</a>.</p></li>
</ul>
</section>
<section id="people">
<h3>People<a class="headerlink" href="#people" title="Link to this heading">#</a></h3>
<p>List of contributors for release 0.15 by number of commits.</p>
<ul class="simple">
<li><p>312 Olivier Grisel</p></li>
<li><p>275 Lars Buitinck</p></li>
<li><p>221 Gael Varoquaux</p></li>
<li><p>148 Arnaud Joly</p></li>
<li><p>134 Johannes Schönberger</p></li>
<li><p>119 Gilles Louppe</p></li>
<li><p>113 Joel Nothman</p></li>
<li><p>111 Alexandre Gramfort</p></li>
<li><p>95 Jaques Grobler</p></li>
<li><p>89 Denis Engemann</p></li>
<li><p>83 Peter Prettenhofer</p></li>