DirichletCollection not defined #477
-
Dear all, First, thanks for building this package ! It should be very useful for modelling projects I had in mind for a while - if I manage to understand it. I'm currently trying to reproduce the POMDP Controlin the RxInfer Examples. The cell outputs the following error:
I have imported all of the package present in the example code (RxInfer, RxEnvironments, Distributions, Plots, Random, and ProgressMeter) without error. I have also reinstalled Julia and updated all packages without error. If relevant, I am working in a Pluto notebook and on an Ubuntu 22.04.5 LTS operating system. I have looked for the command "DirichletCollection" in the general web, Julia docs, and RxInfers without finding any reference. It is present in other RxInfer examples, but importing the additional packages used in those exemples (LinearAlgebra, BenchmarkTools, GraphViz) did not solve the issue. Furthermore, I have looked for "DirichletCollection" in the present forum and found no post documented the same error or helping me find a diagnosis / solution. Would anyone know what the problem is, and how to solve it ? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
DirichletCollection
is exported byRxInfer
. Can you copy your Julia environment from your Pluto notebook? Most likely you're just using an oldRxInfer
version. If you are interested in documentation for the DirichletCollection, it's here: https://reactivebayes.github.io/ExponentialFamily.jl/stable/library/#ExponentialFamily.DirichletCollection.