Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

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.