Skip to content

Commit

Permalink
Python tutorial - removed ArViZ examples
Browse files Browse the repository at this point in the history
  • Loading branch information
daslu committed Mar 10, 2024
1 parent 9a1de52 commit 07b37bf
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions notebooks/python.clj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
'[numpy.random :as np.random]
'matplotlib.pyplot
'[seaborn :as sns]
'json
'[arviz :as az])
'json)

(def sine-data
(-> {:x (range 0 (* 3 np/pi) 0.1)}
Expand Down Expand Up @@ -53,15 +52,5 @@
:style "smoker"
:size "size")))

;; [ArviZ](https://python.arviz.org/en/stable/)
(let [size [10 50]
data {:normal (apply np.random/randn size)
:gumbel (np.random/gumbel :size size)
:student_t (np.random/standard_t :df 6
:size size)
:exponential (np.random/exponential :size size)}]
(vis.python/pyplot
#(az/plot_forest data)))


:bye

0 comments on commit 07b37bf

Please sign in to comment.