Applying association rules block

ZAM
ZAM New Altair Community Member
edited November 5 in Community Q&A
Hello
so i am trying to apply the association rules i have generated on a test set but i am getting the following:

  • Exception: com.rapidminer.example.AttributeTypeException
  • Message: Attribute [1] {1=0} is not a classification attribute!
  • Stack trace:
  • com.rapidminer.example.table.PolynominalMapping.ensureClassification(PolynominalMapping.java:241)
  • com.rapidminer.example.table.PolynominalMapping.getPositiveIndex(PolynominalMapping.java:174)
  • com.rapidminer.operator.associations.AssociationRulesApplier.doWork(AssociationRulesApplier.java:109)
  • com.rapidminer.operator.Operator.execute(Operator.java:1026)
  • com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
  • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
  • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
  • java.security.AccessController.doPrivileged(Native Method)
  • com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
  • com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
  • com.rapidminer.operator.Operator.execute(Operator.java:1026)
  • com.rapidminer.Process.executeRoot(Process.java:1386)
  • com.rapidminer.Process.execute(Process.java:1327)
  • com.rapidminer.Process.run(Process.java:1300)
  • com.rapidminer.Process.run(Process.java:1186)
  • com.rapidminer.Process.run(Process.java:1139)
  • com.rapidminer.Process.run(Process.java:1134)
  • com.rapidminer.Process.run(Process.java:1124)
  • com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)
 any help?




Best Answer

Answers

  • ZAM
    ZAM New Altair Community Member
    XML Code
  • varunm1
    varunm1 New Altair Community Member
    Hello @ZAM

    Did you share the correct XML? I see that the XML and screenshot you gave are different. Can you check once again?



    Thanks
    Varun
  • ZAM
    ZAM New Altair Community Member
    edited May 2019
    @varunm1 sorry for that.
    Attached the right XML file

    Thanks.