Search code examples
machine-learningdata-sciencedata-miningweka

what's the error using supply test set for prediction


I am trying to analyze the titanic dataset and build a predictive model. I have preprocessed the datasets. Now while I am trying to predict using the test set and I don't know why it doesn't show any result.

Error

Titanic_test.arff Titanic_train.afff


Solution

  • If you open the two files (training and test set) you will notice a difference: in the training set the last column has value 0 or 1, whereas in the test set it has ? (undefined).

    This means that your test set doesn't contain the answers, therefore Weka cannot do any evaluation. It could do predictions though.