Skip to content

Commit 8208ab9

Browse files
committed
Reorganised examples
1 parent 63d0baf commit 8208ab9

File tree

7 files changed

+4
-378
lines changed

7 files changed

+4
-378
lines changed

docs/source/index.rst

-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@ Indices and tables
3131

3232
* :ref:`genindex`
3333
* :ref:`modindex`
34-
* :ref:`search`

docs/source/usage/quickstart.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
Quickstart
66
==========
77

8+
This is a simple description of how to calibrate a classifier using this
9+
library. For an extended example check the Section Examples
10+
:ref:`sphx_glr_examples_xmpl_quickstart.py`.
11+
812
The simplest way to calibrate an existing probabilistic classifier is the
913
following:
1014

@@ -33,4 +37,3 @@ Now you can train both classifier and calibrator all together.
3337
dataset = load_iris()
3438
cal_clf.fit(dataset.data, dataset.target)
3539
36-
For a full example check the Section Examples quick start.

examples/visualisations/README.txt

-7
This file was deleted.

examples/visualisations/reliability_diagram_examples.ipynb

-341
This file was deleted.

examples/visualisations/xmpl_reliability_diagram.py renamed to examples/xmpl_reliability_diagram.py

-6
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@
8383
show_gaps=True, show_bars=True,
8484
show_histogram=True)
8585

86-
fig.tight_layout()
87-
fig.savefig('pycalib_rd_bars.svg')
8886

8987
##############################################################################
9088
# However, both previous illustrations do not include the number of samples
@@ -153,8 +151,6 @@
153151
errorbar_interval=0.95,
154152
interval_method='beta')
155153

156-
fig.tight_layout()
157-
fig.savefig('pycalib_rd_lines.svg')
158154

159155
##############################################################################
160156
# It is possible to draw reliability diagram for multiple classes as well. We
@@ -194,8 +190,6 @@
194190
show_bars=True,
195191
show_gaps=True)
196192

197-
fig.tight_layout()
198-
fig.savefig('pycalib_rd_ternary.svg')
199193

200194
##############################################################################
201195
# And change the colors.

0 commit comments

Comments
 (0)