The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

NegativeArraySizeException in the http://www.myexperiment.org/workflows/2684.htm

veveveve Member Posts: 63 Contributor II
edited November 2018 in Help
Hello,

I'm having an" Item Attribute k-NN " workflow that is similar with the http://www.myexperiment.org/workflows/2684.html workflow. I tried it with the sample data from the myexperiment workflow and it worked. However, with my data I get an NegativeArraySizeException error.

I do not understand, the user id and the item id are of the same type as in the example..what could it be wrong with the data?

Exception: java.lang.NegativeArraySizeException
Message: null
Stack trace:

  com.rapidminer.data.Matrix_f.<init>(Matrix_f.java:69)
  com.rapidminer.data.CorrelationMatrix.<init>(CorrelationMatrix.java:52)
  com.rapidminer.data.BinaryDataCorrelationMatrix.<init>(BinaryDataCorrelationMatrix.java:17)
  com.rapidminer.data.BinaryCosine.<init>(BinaryCosine.java:24)
  com.rapidminer.data.BinaryCosine.Create(BinaryCosine.java:104)
  com.rapidminer.ItemRecommendation.ItemAttributeKnn.Train(ItemAttributeKnn.java:50)
  com.rapidminer.ItemRecommendation.ItemAttributeKnnO.doWork(ItemAttributeKnnO.java:162)
  com.rapidminer.operator.Operator.execute(Operator.java:867)
  com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
  com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:711)
  com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:375)
  com.rapidminer.operator.Operator.execute(Operator.java:867)
  com.rapidminer.Process.run(Process.java:949)
  com.rapidminer.Process.run(Process.java:873)
  com.rapidminer.Process.run(Process.java:832)
  com.rapidminer.Process.run(Process.java:827)
  com.rapidminer.Process.run(Process.java:817)
  com.rapidminer.gui.ProcessThread.run(ProcessThread.java:63)
Thank you!

Alina
Sign In or Register to comment.