KNN Classification Warning

c1borgc1borg MemberPosts:17Maven
edited September 2019 inHelp
Ok very new to RM but getting this error when running a prediction
[Warning] KNNClassification the number of regular attributes of the given example set does not fit the number of attributes of the training example set, training 12, application 13.

I assumed this meant the collumns in the spreadsheet where wrong somehow but there are 15 in the training with 2 special attributes (Date and value to predict) and 14 in the testing set with 1 special attribute (Date)

Any help most appreciated

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:2,531Unicorn
    Hi,
    it seems to me, that there might have been an error during the data import. Did you check the meta data view, if the number of regular attributes recognized by rapid miner is equal in both sets?

    Greetings,
    Sebastian
Sign InorRegisterto comment.