Examples of ExampleSetPrecondition


Examples of com.rapidminer.operator.ports.metadata.ExampleSetPrecondition

   * Constructor
   */
  public WRMatrixFactorization(OperatorDescription description) {
    super(description);

    exampleSetInput.addPrecondition(new ExampleSetPrecondition(exampleSetInput, "user identification", Ontology.ATTRIBUTE_VALUE));
    exampleSetInput.addPrecondition(new ExampleSetPrecondition(exampleSetInput, "item identification", Ontology.ATTRIBUTE_VALUE));

    getTransformer().addRule(new ExampleSetPassThroughRule(exampleSetInput, exampleSetOutput, SetRelation.EQUAL) {
    });
   
    getTransformer().addRule(new GenerateNewMDRule(exampleSetOutput1, new MetaData(ItemRecommender.class)) {
View Full Code Here

Examples of com.rapidminer.operator.ports.metadata.ExampleSetPrecondition

  public ApplyModel(OperatorDescription description) {
    super(description);

    MetaData met=new MetaData(ItemRecommender.class);
   
    exampleSetInput.addPrecondition(new ExampleSetPrecondition(exampleSetInput, "user identification", Ontology.ATTRIBUTE_VALUE));
    exampleSetInput1.addPrecondition(new SimplePrecondition(exampleSetInput1, met));
   
    getTransformer().addRule(new ExampleSetPassThroughRule(exampleSetInput, exampleSetOutput, SetRelation.UNKNOWN) {
      @Override
      public ExampleSetMetaData modifyExampleSet(ExampleSetMetaData metaData) throws UndefinedParameterError {
View Full Code Here

Examples of com.rapidminer.operator.ports.metadata.ExampleSetPrecondition

       * Constructor
       */
      public UserAttributeKnnO(OperatorDescription description) {
        super(description);

        exampleSetInput.addPrecondition(new ExampleSetPrecondition(exampleSetInput, "user identification", Ontology.ATTRIBUTE_VALUE));
        exampleSetInput.addPrecondition(new ExampleSetPrecondition(exampleSetInput, "item identification", Ontology.ATTRIBUTE_VALUE));
        exampleSetInput1.addPrecondition(new ExampleSetPrecondition(exampleSetInput1, "user identification", Ontology.ATTRIBUTE_VALUE));
        exampleSetInput1.addPrecondition(new ExampleSetPrecondition(exampleSetInput1, "attribute identification", Ontology.ATTRIBUTE_VALUE));
       
        getTransformer().addRule(new ExampleSetPassThroughRule(exampleSetInput, exampleSetOutput, SetRelation.EQUAL) {
        });
       
        getTransformer().addRule(new GenerateNewMDRule(exampleSetOutput1, new MetaData(ItemRecommender.class)) {
View Full Code Here

Examples of com.rapidminer.operator.ports.metadata.ExampleSetPrecondition

   * Constructor
   */
  public Eval(OperatorDescription description) {
    super(description);
    MetaData met=new MetaData(ItemRecommender.class);
    exampleSetInput.addPrecondition(new ExampleSetPrecondition(exampleSetInput, "user identification", Ontology.ATTRIBUTE_VALUE));
    exampleSetInput.addPrecondition(new ExampleSetPrecondition(exampleSetInput, "item identification", Ontology.ATTRIBUTE_VALUE));
    exampleSetInput1.addPrecondition(new ExampleSetPrecondition(exampleSetInput1, "user identification", Ontology.ATTRIBUTE_VALUE));
    exampleSetInput1.addPrecondition(new ExampleSetPrecondition(exampleSetInput1, "item identification", Ontology.ATTRIBUTE_VALUE));
    exampleSetInput2.addPrecondition(new SimplePrecondition(exampleSetInput2, met));
    getTransformer().addRule(new GenerateNewMDRule(performanceOutput, PerformanceVector.class));
    getTransformer().addRule(new ExampleSetPassThroughRule(exampleSetInput1, exampleSetOutput, SetRelation.UNKNOWN) {
    });
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.