function c = classify(X, classes_compParams)
  m = length(classes_compParams);
  n = size(X,1);
  p = zeros(n,m);
  for i=1:m
    p(:,i) = evalmixtureX(X, classes_compParams{i});
  end
  [dummy, c] = max(p,[],2);
  