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
Process failing at User k-NN operator
Any advice gratefully received. I've version RM10.1
- Exception: java.lang.NegativeArraySizeException
- Message: -772052535
- Stack trace:
- com.rapidminer.data.Matrix_f.(Matrix_f.java:69)
- com.rapidminer.data.CorrelationMatrix.(CorrelationMatrix.java:52)
- com.rapidminer.data.BinaryDataCorrelationMatrix.(BinaryDataCorrelationMatrix.java:17)
- com.rapidminer.data.BinaryCosine.(BinaryCosine.java:24)
- com.rapidminer.data.BinaryCosine.Create(BinaryCosine.java:104)
- com.rapidminer.operator.RatingPrediction.UserKnnCosine.Train(UserKnnCosine.java:28)
- com.rapidminer.operator.RatingPrediction.UserKnn.doWork(UserKnn.java:159)
- com.rapidminer.operator.Operator.execute(Operator.java:1024)
- com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
- com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:804)
- com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:799)
- java.base/java.security.AccessController.doPrivileged(Native Method)
- com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:799)
- com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
- com.rapidminer.operator.Operator.execute(Operator.java:1024)
- com.rapidminer.Process.executeRoot(Process.java:1476)
- com.rapidminer.Process.lambda$executeRootInPool$5(Process.java:1452)
- com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext$AdaptedCallable.exec(AbstractConcurrencyContext.java:362)
- java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
- java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
- java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
- java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
- java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
0
Answers
the error is happening inside a third party extension, but can you try to apply the quick fixes suggested by the operator?
The User k-NN operator seems to require attributes with the roles "user identification" and "item identification". You can click on the exclamation mark icon in the bottom left corner of the User k-NN operator to trigger the quick fixes.
Greetings,
Jonas