Skip to content

Commit 0174183

Browse files
authored
upgrade version (#54)
* upgrade version * fix * fix doc * fix notebooks * vers * doc * fix notebook * fix
1 parent 3acae45 commit 0174183

33 files changed

+1979
-624
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-python@v4
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.12'
2525

2626
- uses: tlylt/install-graphviz@v1
2727

.local.jenkins.lin.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
recursive-include onnx_extended *.c *.cpp *.h *.pyx *.pxd *.pxi *.py
21
include pyproject.toml
32
include MANIFEST.in
43
include setup.cfg

_doc/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"sphinx_runpython.epkg",
2525
"sphinx_runpython.gdot",
2626
"sphinx_runpython.runpython",
27-
"sphinxcontrib.blockdiag",
2827
"matplotlib.sphinxext.plot_directive",
2928
]
3029

@@ -73,7 +72,7 @@
7372
"""
7473

7574
# The following is used by sphinx.ext.linkcode to provide links to github
76-
linkcode_resolve = make_linkcode_resolve(
75+
_linkcode_resolve = make_linkcode_resolve(
7776
"mlstatpy",
7877
(
7978
"https://github.com/sdpython/mlstatpy/"
@@ -82,6 +81,11 @@
8281
),
8382
)
8483

84+
85+
def linkcode_resolve(domain, info):
86+
return _linkcode_resolve(domain, info)
87+
88+
8589
latex_elements = {
8690
"papersize": "a4",
8791
"pointsize": "10pt",

_doc/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Les maths d'abord, la programmation ensuite
1010
Le livre `The Elements of Statistical Learning <http://statweb.stanford.edu/~tibs/ElemStatLearn/>`_
1111
est considéré comme la bible en matière de machine learning. Ce site aborde des sujets connexes.
1212
Le site est aussi disponible (format brut de fonderie) sur
13-
`GitHub/mlstatpy <https://github.com/sdpython/mlstatpy>`_ |gitlogo|.
13+
`github/mlstatpy <https://github.com/sdpython/mlstatpy>`_ |gitlogo|.
1414

1515
.. toctree::
1616
:maxdepth: 1
@@ -78,4 +78,5 @@ Xavier Dupré
7878
Older versions
7979
++++++++++++++
8080

81+
* `0.5.0 <../v0.5.0/index.html>`_
8182
* `0.4.0 <../v0.4.0/index.html>`_

_doc/notebooks/dsgarden/correlation_non_lineaire.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@
940940
},
941941
{
942942
"cell_type": "code",
943-
"execution_count": 49,
943+
"execution_count": null,
944944
"metadata": {
945945
"scrolled": false
946946
},
@@ -962,7 +962,7 @@
962962
"\n",
963963
"def pairplot_cross_val(data, model=None, ax=None, **params):\n",
964964
" if ax is None:\n",
965-
" fig, ax = plt.subplots(\n",
965+
" _fig, ax = plt.subplots(\n",
966966
" data.shape[1], data.shape[1], figsize=params.get(\"figsize\", (10, 10))\n",
967967
" )\n",
968968
" if \"figsize\" in params:\n",
@@ -3040,4 +3040,4 @@
30403040
},
30413041
"nbformat": 4,
30423042
"nbformat_minor": 2
3043-
}
3043+
}

_doc/notebooks/dsgarden/discret_gradient.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3910,4 +3910,4 @@
39103910
},
39113911
"nbformat": 4,
39123912
"nbformat_minor": 2
3913-
}
3913+
}

_doc/notebooks/dsgarden/quantization_f8.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,4 +833,4 @@
833833
},
834834
"nbformat": 4,
835835
"nbformat_minor": 5
836-
}
836+
}

_doc/notebooks/dsgarden/regression_lineaire.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2385,4 +2385,4 @@
23852385
},
23862386
"nbformat": 4,
23872387
"nbformat_minor": 2
2388-
}
2388+
}

_doc/notebooks/dsgarden/split_train_test.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,4 +1348,4 @@
13481348
},
13491349
"nbformat": 4,
13501350
"nbformat_minor": 2
1351-
}
1351+
}

0 commit comments

Comments
 (0)