Skip to content

Commit ddfdae2

Browse files
committed
Update sphinx sources
1 parent 4d2eefd commit ddfdae2

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ BibTeX
145145
@misc{bayesml,
146146
author = {Nakahara Yuta and Ichijo Naoki and Shimada Koshi and
147147
Iikubo Yuji and Saito Shota and Kazama Koki and
148-
Matsushima Toshiyasu and BayesML Developers}
148+
Matsushima Toshiyasu and {BayesML Developers}},
149149
title = {BayesML 0.2.1},
150150
howpublished = {\url{https://github.com/yuta-nakahara/BayesML}},
151151
year = {2022}

README_jp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ BibTeX
142142
@misc{bayesml,
143143
author = {Nakahara Yuta and Ichijo Naoki and Shimada Koshi and
144144
Iikubo Yuji and Saito Shota and Kazama Koki and
145-
Matsushima Toshiyasu and BayesML Developers}
145+
Matsushima Toshiyasu and {BayesML Developers}},
146146
title = {BayesML 0.2.1},
147147
howpublished = {\url{https://github.com/yuta-nakahara/BayesML}},
148148
year = {2022}

bayesml/metatree/_metatree.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,6 @@ def visualize_model(self,filename=None,format=None,sample_size=100,x_continuous=
957957
>>> model.visualize_model()
958958
959959
.. image:: ./images/metatree_example1.png
960-
961960
.. image:: ./images/metatree_example2.png
962961
963962
See Also
@@ -2019,7 +2018,7 @@ def _copy_map_tree_recursion(self,copied_node:_Node,original_node:_Node):
20192018
self._copy_map_tree_recursion(copied_node.children[i],original_node.children[i])
20202019

20212020
def estimate_params(self,loss="0-1",visualize=True,filename=None,format=None):
2022-
"""Estimate the parameter under the given criterion.
2021+
r"""Estimate the parameter under the given criterion.
20232022
20242023
The approximate MAP meta-tree
20252024
:math:`M_{T,\boldsymbol{k}_b} = \mathrm{argmax} p(M_{T,\boldsymbol{k}_{b'}} | \boldsymbol{x}^n, y^n)`
@@ -2028,15 +2027,15 @@ def estimate_params(self,loss="0-1",visualize=True,filename=None,format=None):
20282027
Parameters
20292028
----------
20302029
loss : str, optional
2031-
Loss function underlying the Bayes risk function, by default ``\"0-1\"``.
2032-
This function supports only ``\"0-1\"``.
2030+
Loss function underlying the Bayes risk function, by default ``"0-1"``.
2031+
This function supports only ``"0-1"``.
20332032
visualize : bool, optional
20342033
If ``True``, the estimated metatree will be visualized, by default ``True``.
20352034
This visualization requires ``graphviz``.
20362035
filename : str, optional
20372036
Filename for saving the figure, by default ``None``
20382037
format : str, optional
2039-
Rendering output format (``\"pdf\"``, ``\"png\"``, ...).
2038+
Rendering output format (``"pdf"``, ``"png"``, ...).
20402039
20412040
20422041
Returns

doc/bayesml.metatree.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
bayesml.metatree package
22
========================
33

4-
.. image:: ./images/metatree_example.png
4+
.. image:: ./images/metatree_example1.png
5+
.. image:: ./images/metatree_example2.png
56

67
Module contents
78
---------------

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'BayesML Developers'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.2.0'
25+
release = '0.2.1'
2626

2727

2828
# -- General configuration ---------------------------------------------------

doc/developers.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,19 @@ Plain text
5959
.. code-block::
6060
6161
Y. Nakahara, N. Ichijo, K. Shimada, Y. Iikubo,
62-
S. Saito, K. Kazama, T. Matsushima, ``BayesML 0.2.0,''
62+
S. Saito, K. Kazama, T. Matsushima, BayesML Developers, ``BayesML 0.2.1,''
6363
[Online] https://github.com/yuta-nakahara/BayesML
6464
6565
6666
BibTeX
6767

68-
.. code-block::
68+
.. code-block:: bibtex
6969
7070
@misc{bayesml,
7171
author = {Nakahara Yuta and Ichijo Naoki and Shimada Koshi and
7272
Iikubo Yuji and Saito Shota and Kazama Koki and
73-
Matsushima Toshiyasu}
74-
title = {BayesML 0.2.0},
73+
Matsushima Toshiyasu and {BayesML Developers}},
74+
title = {BayesML 0.2.1},
7575
howpublished = {\url{https://github.com/yuta-nakahara/BayesML}},
7676
year = {2022}
7777
}

doc/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Plain text
150150
.. code-block::
151151
152152
Y. Nakahara, N. Ichijo, K. Shimada, Y. Iikubo,
153-
S. Saito, K. Kazama, T. Matsushima, ``BayesML 0.2.0,''
153+
S. Saito, K. Kazama, T. Matsushima, BayesML Developers, ``BayesML 0.2.1,''
154154
[Online] https://github.com/yuta-nakahara/BayesML
155155
156156
@@ -161,8 +161,8 @@ BibTeX
161161
@misc{bayesml,
162162
author = {Nakahara Yuta and Ichijo Naoki and Shimada Koshi and
163163
Iikubo Yuji and Saito Shota and Kazama Koki and
164-
Matsushima Toshiyasu}
165-
title = {BayesML 0.2.0},
164+
Matsushima Toshiyasu and {BayesML Developers}},
165+
title = {BayesML 0.2.1},
166166
howpublished = {\url{https://github.com/yuta-nakahara/BayesML}},
167167
year = {2022}
168168
}

0 commit comments

Comments
 (0)