🦉 🎤   RapidMiner Wisdom 2020 - CALL FOR SPEAKERS   🦉 🎤

We are inviting all community members to submit proposals to speak at Wisdom 2020 in Boston.


Whether it's a cool RapidMiner trick or a use case implementation, we want to see what you have.
Form link is below and deadline for submissions is November 15. See you in Boston!

CLICK HERE TO GO TO ENTRY FORM

Model Apllier problem

dusankatdusankat Member Posts: 3 Contributor I
edited November 2018 in Help
Hi,
I created a model, learned on a training set with several nominal attributes (e.g. MONTH, OVERALL_STATE), everything seemed fine until I applied my model on a test set (containing only one example). I have following warnings in a log:

[Warning] KernelDistribution: The number of nominal values is not the same for training and application for attribute 'MONTH', training: 12, application: 1
[Warning] KernelDistribution: The number of nominal values is not the same for training and application for attribute 'OVERALL_STATE', training: 12, application: 1

When I put another 11 examples with range of my month nominal attribute, warning for month disappears. But I want to classify just one example, how should I do that without warnings? When I output values of DataRow for each attribute (model creation and application is done from Java code), all nominal attributes have value 0 (instead of values given in test set), what I am doing wrong? Thank you for your help.

Greetings,
dusankat

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,527   Unicorn
    Hi,
    this is only a warning, not an error. It's only intention is to catch the users attention to control, if the datasets are really equal. So the nominal values that were present during training and now are gone are interpreted as an indicator, that the example set might not be of the same signature.

    Greetings,
      Sebastian
Sign In or Register to comment.