Sr if this is the inappropriate place to post this kind of information.
As I tried to use KernelPCA with my classification problem, I could not apply trained model to test instances. The message "
The example set contains attributes in different order than on creation time...." appeared although the attributes set are exactly the same. It turned out from the source code that when I changed this line of code in method
checkNames() of class
KernelPCAModel ...
if (attribute.getName() != attributeNames.get(i++)) { |
...
to
...
if (!attributeNames.get(i++).equals(attribute.getName())) { |
...
so I could applied train model for test instances. It really helped me.
I am not sure whether this is a bug or not.
Hope that help!