Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Weka] IndexOutOfBoundsException when obtaining folds #15

Open
joaquinvanschoren opened this issue Oct 20, 2017 · 6 comments
Open

[Weka] IndexOutOfBoundsException when obtaining folds #15

joaquinvanschoren opened this issue Oct 20, 2017 · 6 comments

Comments

@joaquinvanschoren
Copy link
Contributor

From @DraXus on February 14, 2015 15:17

The following error is shown when trying to run task 17 in Weka 3.7.12 using Naive Bayes as classifier.

[14-02-2015 13:41:27] [INFO] [ARFF Cache] Stored dataset 17 to cache.
[14-02-2015 13:41:27] [INFO] [ARFF Cache] Stored splits 17 to cache.
[14-02-2015 13:41:27] [INFO] [Splits] Obtaining folds for Task 17 (bridges) with weka.classifiers.bayes.NaiveBayes - Repeat 0
java.lang.IndexOutOfBoundsException: Index: 107, Size: 107
java.util.ArrayList.rangeCheck(ArrayList.java:635)
java.util.ArrayList.get(ArrayList.java:411)
weka.core.Instances.instance(Instances.java:768)
org.openml.weka.experiment.TaskResultProducer.doRun(TaskResultProducer.java:248)
org.openml.weka.experiment.TaskBasedExperiment.nextIteration(TaskBasedExperiment.java:173)
org.openml.weka.gui.OpenmlRunPanel$ExperimentRunner.run(OpenmlRunPanel.java:197)

at java.util.ArrayList.rangeCheck(ArrayList.java:635)
at java.util.ArrayList.get(ArrayList.java:411)
at weka.core.Instances.instance(Instances.java:768)
at org.openml.weka.experiment.TaskResultProducer.doRun(TaskResultProducer.java:248)
at org.openml.weka.experiment.TaskBasedExperiment.nextIteration(TaskBasedExperiment.java:173)
at org.openml.weka.gui.OpenmlRunPanel$ExperimentRunner.run(OpenmlRunPanel.java:197)

Copied from original issue: openml/OpenML#172

@joaquinvanschoren
Copy link
Contributor Author

Hi Manuel,

How did you run weka? Did you use the standalone version of the website of
did you use the package manager to install the plugin?

@jan: Can we now remove the standalone version from the website and use the
package from now on?

Thanks,
Joaquin

On Sat Feb 14 2015 at 4:17:56 PM Manuel Martín [email protected]
wrote:

[14-02-2015 13:41:27] [INFO] [ARFF Cache] Stored dataset 17 to cache.
[14-02-2015 13:41:27] [INFO] [ARFF Cache] Stored splits 17 to cache.
[14-02-2015 13:41:27] [INFO] [Splits] Obtaining folds for Task 17
(bridges) with weka.classifiers.bayes.NaiveBayes - Repeat 0
java.lang.IndexOutOfBoundsException: Index: 107, Size: 107
java.util.ArrayList.rangeCheck(ArrayList.java:635)
java.util.ArrayList.get(ArrayList.java:411)
weka.core.Instances.instance(Instances.java:768)

org.openml.weka.experiment.TaskResultProducer.doRun(TaskResultProducer.java:248)

org.openml.weka.experiment.TaskBasedExperiment.nextIteration(TaskBasedExperiment.java:173)

org.openml.weka.gui.OpenmlRunPanel$ExperimentRunner.run(OpenmlRunPanel.java:197)

at java.util.ArrayList.rangeCheck(ArrayList.java:635)
at java.util.ArrayList.get(ArrayList.java:411)
at weka.core.Instances.instance(Instances.java:768)
at org.openml.weka.experiment.TaskResultProducer.doRun(TaskResultProducer.java:248)
at org.openml.weka.experiment.TaskBasedExperiment.nextIteration(TaskBasedExperiment.java:173)
at org.openml.weka.gui.OpenmlRunPanel$ExperimentRunner.run(OpenmlRunPanel.java:197)


Reply to this email directly or view it on GitHub
openml/OpenML#172.

@joaquinvanschoren
Copy link
Contributor Author

@manuel: did you try clearing the cache? We did a lot of changes in the
caching mechanism recently.

The cache is in a .openml folder in your home dir.

Cheers,
Joaquin

On Sun Feb 15 2015 at 8:39:20 AM Joaquin Vanschoren [email protected]
wrote:

Hi Manuel,

How did you run weka? Did you use the standalone version of the website of
did you use the package manager to install the plugin?

@jan: Can we now remove the standalone version from the website and use
the package from now on?

Thanks,
Joaquin

On Sat Feb 14 2015 at 4:17:56 PM Manuel Martín [email protected]
wrote:

[14-02-2015 13:41:27] [INFO] [ARFF Cache] Stored dataset 17 to cache.
[14-02-2015 13:41:27] [INFO] [ARFF Cache] Stored splits 17 to cache.
[14-02-2015 13:41:27] [INFO] [Splits] Obtaining folds for Task 17
(bridges) with weka.classifiers.bayes.NaiveBayes - Repeat 0
java.lang.IndexOutOfBoundsException: Index: 107, Size: 107
java.util.ArrayList.rangeCheck(ArrayList.java:635)
java.util.ArrayList.get(ArrayList.java:411)
weka.core.Instances.instance(Instances.java:768)
org.openml.weka.experiment.TaskResultProducer.doRun(
TaskResultProducer.java:248)
org.openml.weka.experiment.TaskBasedExperiment.nextIteration(
TaskBasedExperiment.java:173)
org.openml.weka.gui.OpenmlRunPanel$ExperimentRunner.run(
OpenmlRunPanel.java:197)

at java.util.ArrayList.rangeCheck(ArrayList.java:635)
at java.util.ArrayList.get(ArrayList.java:411)
at weka.core.Instances.instance(Instances.java:768)
at org.openml.weka.experiment.TaskResultProducer.doRun(TaskResultProducer.java:248)
at org.openml.weka.experiment.TaskBasedExperiment.nextIteration(TaskBasedExperiment.java:173)
at org.openml.weka.gui.OpenmlRunPanel$ExperimentRunner.run(OpenmlRunPanel.java:197)


Reply to this email directly or view it on GitHub
openml/OpenML#172.

@joaquinvanschoren
Copy link
Contributor Author

From @DraXus on February 15, 2015 15:18

It was a clean standalone Weka version and then I installed the OpenML plugin from the package repository. I only got that error with tasks using dataset 17 so far. I tried to clean the cache but it happened again.

@joaquinvanschoren
Copy link
Contributor Author

Interesting. Jan, can you take a look?
On Sun 15 Feb 2015 at 16:18, Manuel Martín [email protected] wrote:

It was a clean standalone Weka version and then I installed the OpenML
plugin from the package repository. I only got that error with tasks using
dataset 17 so far. I tried to clean the cache but it happened again.


Reply to this email directly or view it on GitHub
openml/OpenML#172 (comment).

@joaquinvanschoren
Copy link
Contributor Author

From @DraXus on February 15, 2015 17:10

I mean, it's not urgent. I will use other datasets for the demo, but just take a look when you can :)

@joaquinvanschoren
Copy link
Contributor Author

We have released several new versions of the apiconnector in the mean time. Please check if this is still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant