The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 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.

BUG REPORT - MetaCost with Linear Discriminant Analysis operator does not work

amitdamitd Member, University Professor Posts: 49 Maven
The MetaCost operator fails to run when the Linear Discriminant Analysis operator is used as the base learner.

The following Stack Trace is generated in the Debug Mode:

  • Exception: java.lang.NullPointerException
  • Message: null
  • Stack trace:
  • com.rapidminer.example.table.DataRow.set(
  • com.rapidminer.belt.table.ConvertOnWriteExampleTable$1$1.set(
  • com.rapidminer.example.table.AbstractAttribute.setValue(
  • com.rapidminer.example.table.DataRow.set(
  • com.rapidminer.example.Example.setValue(
  • com.rapidminer.example.Example.setConfidence(
  • com.rapidminer.operator.learner.meta.MetaCostModel.performPrediction(
  • com.rapidminer.operator.learner.PredictionModel.apply(
  • com.rapidminer.operator.AbstractModel.apply(
  • com.rapidminer.operator.AbstractModel.apply(
  • com.rapidminer.operator.ModelApplier.applyModel(
  • com.rapidminer.operator.ModelApplier.doWork(
  • com.rapidminer.operator.Operator.execute(
  • com.rapidminer.operator.execution.SimpleUnitExecutor.execute(
  • com.rapidminer.operator.ExecutionUnit$
  • com.rapidminer.operator.ExecutionUnit$
  • Method)
  • com.rapidminer.operator.ExecutionUnit.execute(
  • com.rapidminer.operator.OperatorChain.doWork(
  • com.rapidminer.operator.Operator.execute(
  • com.rapidminer.Process.executeRoot(
  • com.rapidminer.Process.lambda$executeRootInPool$5(
  • java.util.concurrent.ForkJoinTask.doExec(
  • java.util.concurrent.ForkJoinPool$WorkQueue.runTask(
  • java.util.concurrent.ForkJoinPool.runWorker(

Best Answer

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,525 RM Data Scientist
    Solution Accepted
    I think it cannot work because LDA is one of the rare learners not returning a confidence but MetaCost needs it?

    Still, we should throw a proper error message.

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany


Sign In or Register to comment.