On Wed, Jan 13, 2010 at 3:23 PM, Jeff Eastman <[email protected]>wrote:
> The NormalModelDistribution seems to still think all the data vectors are > size=2. In SampleFromPrior, it is creating models with that size. > Subsequently, when you calculate the pdf with your data value (x) the sizes > are incompatible. Suggest changing 'DenseVector(2)' to 'DenseVector(n)', > where n is your data cardinality. Please also look at the rest of the math > in DenseVector with suspiscion. AFAIK, you are the first person to try to > use Dirichlet. Ack, this is bad - why have we not caught this in unit tests? -jake
