Skip to content

Commit 076f46a

Browse files
glemaitrelesteve
authored andcommitted
[MRG+1] MAINT Upgrade to sphinx 1.6.2 (scikit-learn#9227)
1 parent b413299 commit 076f46a

File tree

5 files changed

+17
-23
lines changed

5 files changed

+17
-23
lines changed

build_tools/circle/build_doc.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ fi
7474

7575
if [[ "$CIRCLE_BRANCH" =~ ^master$|^[0-9]+\.[0-9]+\.X$ && -z "$CI_PULL_REQUEST" ]]
7676
then
77-
MAKE_TARGET=dist # PDF linked into HTML
77+
# nonstopmode is used to not wait for CI timeout in case of an error
78+
# PDF linked into HTML
79+
MAKE_TARGET="dist LATEXMKOPTS=--interaction=nonstopmode"
7880
elif [[ "$build_type" =~ ^QUICK ]]
7981
then
8082
MAKE_TARGET=html-noplot
@@ -105,7 +107,7 @@ conda update --yes --quiet conda
105107
# Configure the conda environment and put it in the path using the
106108
# provided versions
107109
conda create -n $CONDA_ENV_NAME --yes --quiet python numpy scipy \
108-
cython nose coverage matplotlib sphinx=1.5 pillow
110+
cython nose coverage matplotlib sphinx=1.6.2 pillow
109111
source activate testenv
110112

111113
# Build and install scikit-learn in dev mode

doc/about.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
About us
42
========
53

@@ -221,7 +219,7 @@ The 2013 Paris international sprint
221219
:width: 120pt
222220
:target: http://www.frs-fnrs.be/
223221

224-
.. figure:: http://sites.uclouvain.be/dysco/pmwiki/uploads/Main/dysco.gif
222+
.. figure:: images/dysco.png
225223
:width: 120pt
226224
:target: http://sites.uclouvain.be/dysco/
227225

doc/images/dysco.png

17.4 KB
Loading

sklearn/gaussian_process/gaussian_process.py

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -566,20 +566,15 @@ def reduced_likelihood_function(self, theta=None):
566566
A dictionary containing the requested Gaussian Process model
567567
parameters:
568568
569-
sigma2
570-
Gaussian Process variance.
571-
beta
572-
Generalized least-squares regression weights for
573-
Universal Kriging or given beta0 for Ordinary
574-
Kriging.
575-
gamma
576-
Gaussian Process weights.
577-
C
578-
Cholesky decomposition of the correlation matrix [R].
579-
Ft
580-
Solution of the linear equation system : [R] x Ft = F
581-
G
582-
QR decomposition of the matrix Ft.
569+
- ``sigma2`` is the Gaussian Process variance.
570+
- ``beta`` is the generalized least-squares regression weights for
571+
Universal Kriging or given beta0 for Ordinary Kriging.
572+
- ``gamma`` is the Gaussian Process weights.
573+
- ``C`` is the Cholesky decomposition of the correlation
574+
matrix [R].
575+
- ``Ft`` is the solution of the linear equation system
576+
[R] x Ft = F
577+
- ``G`` is the QR decomposition of the matrix Ft.
583578
"""
584579
check_is_fitted(self, "X")
585580

sklearn/preprocessing/label.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,9 @@ def inverse_transform(self, Y, threshold=None):
349349
threshold : float or None
350350
Threshold used in the binary and multi-label cases.
351351
352-
Use 0 when:
353-
- Y contains the output of decision_function (classifier)
354-
Use 0.5 when:
355-
- Y contains the output of predict_proba
352+
Use 0 when ``Y`` contains the output of decision_function
353+
(classifier).
354+
Use 0.5 when ``Y`` contains the output of predict_proba.
356355
357356
If None, the threshold is assumed to be half way between
358357
neg_label and pos_label.

0 commit comments

Comments
 (0)