danielkorzekwa / bayes-scala

Bayesian Networks in Scala
Other
205 stars 39 forks source link

Unsetting the value on a Categorical #27

Closed francisdb closed 9 years ago

francisdb commented 9 years ago

Currently the setValue takes an int and wraps it in a Some so there is no way to go back to None

danielkorzekwa commented 9 years ago

Done.

sat.clearValue() assertVector(Array(0.3620, 0.2884, 0.3496), infer(grade).cpd, 0.0001)

francisdb commented 9 years ago

:+1:

francisdb commented 9 years ago

The readme still needs an update

francisdb commented 9 years ago

Looking good!