Skip to content

Commit 5e55d55

Browse files
committed
Update _contexttree.py
1 parent 4068a05 commit 5e55d55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bayesml/contexttree/_contexttree.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ def visualize_posterior(self,filename=None,format=None):
859859
--------
860860
>>> from bayesml import contexttree
861861
>>> gen_model = contexttree.GenModel(c_k=2,c_d_max=3,h_g=0.75)
862+
>>> gen_model.gen_params()
862863
>>> x = gen_model.gen_sample(50)
863864
>>> learn_model = contexttree.LearnModel(c_k=2,c_d_max=3,h0_g=0.75)
864865
>>> learn_model.update_posterior(x)

0 commit comments

Comments
 (0)