samdon / pmtk3

Automatically exported from code.google.com/p/pmtk3
0 stars 0 forks source link

mixexpPredict typo #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. model = mixexpFit(FGD,FGT,4);
2. >> yp=mixexpPredict(model,FGD);

What is the expected output? What do you see instead?
??? Reference to non-existent field 'Nclasses'.

Error in ==> mixexpPredict at 34
  yhat_k = zeros(N, model.Nclasses, K);

What version / revision of the product are you using? On what operating
system?
PMTK (r2776)/Windows (Matlab)

Please provide any additional information below.
yhat_k = zeros(N, model.Nclasses, K);
replace with 
yhat_k = zeros(N, model.nclasses, K);

Original issue reported on code.google.com by RA.Dragun on 2 Jun 2011 at 6:28

GoogleCodeExporter commented 9 years ago
Moved to GitHub: https://github.com/probml/pmtk3/issues/27

Original comment by irosen on 4 Jan 2014 at 2:35