I have a Bayes net (DAG) model which I created using pymc 2.3. All the variables in it are Bernoulli random variables. When I call the MAP.fit() method on it before sampling I get the following warning for all of my random variables:
value is neither numerical nor array with floating-point dtype. Recommend fitting method fmin (default)
From the github repo of pymc, it seems that this warning is printed if the underlying type of the stochastic variable is not a float. For Bernoulli RV the type is (and should be) bool.
Does this mean that the MAP step will have unstable results?
来源:https://stackoverflow.com/questions/22019472/pymc-warning-value-is-neither-numerical-nor-array-with-floating-point-dtype