Options

Performance Error with weighted mean recall and weighted mean precision

Steve256Steve256 Member Posts: 3 Newbie
edited January 2022 in Help
When I run the process, it's not running and showing an error message. This only happens when I select the weighted mean recall and weighted mean precision parameters from performance. Does anyone know who to fix this?

Answers

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,517 RM Data Scientist
    Hi,
    can you please check the rapidminer-studio.log file in your .RapidMiner folder? It should contain more information.

    BR,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    Steve256Steve256 Member Posts: 3 Newbie
    I checked it and it contains this but I don't understand where is the problem



    Jan 24, 2022 6:43:58 PM com.rapidminer.gui.ProcessThread run
    SEVERE: java.lang.NullPointerException
    java.lang.NullPointerException
    at com.rapidminer.operator.performance.WeightedMultiClassPerformance.countExample(WeightedMultiClassPerformance.java:185)
    at com.rapidminer.operator.performance.AbstractPerformanceEvaluator.evaluate(AbstractPerformanceEvaluator.java:470)
    at com.rapidminer.operator.performance.AbstractPerformanceEvaluator.evaluate(AbstractPerformanceEvaluator.java:393)
    at com.rapidminer.operator.performance.AbstractPerformanceEvaluator.doWork(AbstractPerformanceEvaluator.java:256)
    at com.rapidminer.operator.Operator.execute(Operator.java:1023)
    at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
    at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:805)
    at com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:800)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:800)
    at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
    at com.rapidminer.operator.Operator.execute(Operator.java:1023)
    at com.rapidminer.Process.executeRoot(Process.java:1464)
    at com.rapidminer.Process.lambda$executeRootInPool$5(Process.java:1443)
    at com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext$AdaptedCallable.exec(AbstractConcurrencyContext.java:362)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,517 RM Data Scientist
    edited January 2022
    Hi,
    looks like the example set you sent into the operator in has no prediction attribute? Can you share the process?

    BR,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    Steve256Steve256 Member Posts: 3 Newbie

Sign In or Register to comment.