java.lang.IllegalArgumentException: Can't have more folds than   instances!

nabble.com | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    WEKA - ERROR: Unable to determine structure as arff

    nabble.com | 10 months ago
    java.lang.IllegalArgumentException: Can't have more folds than   instances!

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can't have more folds than   instances!

      at weka.core.Instances.trainCV()
    2. weka-dev
      SMO.main
      1. weka.core.Instances.trainCV(Unknown Source)
      2. weka.core.Instances.trainCV(Unknown Source)
      3. weka.classifiers.Evaluation.crossValidateModel(Unknown Source)
      4. weka.classifiers.Evaluation.evaluateModel(Unknown Source)
      5. weka.classifiers.Classifier.runClassifier(Unknown Source)
      6. weka.classifiers.functions.SMO.main(Unknown Source)
      6 frames