Closed NormannR closed 3 years ago
I've checked the state of this issue. In distribution.py
the same piece of code appears several times:
discr_iid = self.discretize(to="iid")
nodes = discr_iid.points
transitions = np.array(
[
discr_iid.weights,
]
* N
)
It seems to me, this should appear only once in the DiscretizedIIDProcess class. Then all subclasses, the subclass should call the parent method when needed.
Actually, FiniteDistribution seems to be a better place.
Replication code:
Error:
I am on it.