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

[QA] Empty set of results can cause the F1-measure to fail #384

Closed
3 tasks done
MichaelRoeder opened this issue Mar 18, 2021 · 0 comments
Closed
3 tasks done

[QA] Empty set of results can cause the F1-measure to fail #384

MichaelRoeder opened this issue Mar 18, 2021 · 0 comments

Comments

@MichaelRoeder
Copy link
Member

MichaelRoeder commented Mar 18, 2021

 org.aksw.gerbil.exceptions.GerbilException: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.aksw.gerbil.execute.ExperimentTask.runExperiment(ExperimentTask.java:599) ~[classes/:?]
	at org.aksw.gerbil.execute.ExperimentTask.run(ExperimentTask.java:167) [classes/:?]
	at org.aksw.simba.topicmodeling.concurrent.workers.WorkerImpl.run(WorkerImpl.java:44) [topicmodeling.concurrent-0.0.2-20160315.131022-1.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.aksw.gerbil.evaluate.impl.ConfidenceBasedFMeasureCalculator.calculateOptMicroFMeasure(ConfidenceBasedFMeasureCalculator.java:104) ~[classes/:?]
	at org.aksw.gerbil.evaluate.impl.ConfidenceBasedFMeasureCalculator.calculateMicroFMeasure(ConfidenceBasedFMeasureCalculator.java:75) ~[classes/:?]
	at org.aksw.gerbil.evaluate.impl.ClassConsideringFMeasureCalculator.evaluate(ClassConsideringFMeasureCalculator.java:63) ~[classes/:?]
	at org.aksw.gerbil.evaluate.AbstractTypeTransformingEvaluatorDecorator.evaluate(AbstractTypeTransformingEvaluatorDecorator.java:41) ~[classes/:?]
	at org.aksw.gerbil.evaluate.AbstractTypeTransformingEvaluatorDecorator.evaluate(AbstractTypeTransformingEvaluatorDecorator.java:41) ~[classes/:?]
	at org.aksw.gerbil.evaluate.SubTaskEvaluator.evaluate(SubTaskEvaluator.java:46) ~[classes/:?]
	at org.aksw.gerbil.execute.ExperimentTask.evaluate(ExperimentTask.java:618) ~[classes/:?]
	at org.aksw.gerbil.execute.ExperimentTask.runExperiment(ExperimentTask.java:593) ~[classes/:?]
	... 5 more
  • Fix it for QA
  • Check KE for the same problem
  • Check KBC for the same problem
@MichaelRoeder MichaelRoeder self-assigned this Mar 18, 2021
MichaelRoeder added a commit that referenced this issue Mar 18, 2021
…. Fixed a source of a null pointer exception in ExperimentTaskConfiguration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant