🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

DataGenerator Criteria for target function

gustavo_baldaniUser: "gustavo_baldani"
New Altair Community Member
Updated by Jocelyn
Hi everybody!!

I´m new in Datamaning and in RapidMiner too. xD

I want to know where can i see which criteria is taken to calculate the target funcion: simple polynomial classification in the DataGenerator operator.

Any help?

Thks!

Find more posts tagged with

Sort by:
1 - 4 of 41
    Hello,

    I had the same question and decided to look at the code to get the answer. To save you some time, you could look here

    http://rapidminernotes.blogspot.com/2009/11/examplesetgenerator-parameters.html


    regards

    Andrew
    Andrew,

    thks for replying.

    I have seen that post, and it was very usefull. But...  Help me a little....

    simple polynomial classification: label = "positive" if att1^4 > 100 otherwise "negative"

    2 points:

    - Its always that condition? I couldn´t find a relatsionship between my values and that binomial label (In my run).
    - Where can i see that criteria "Here is a list (taken from the source code) " ? In wich part have you seen that?

    Sorry for this basic question.

    I have been working in BI the last 6 years, bue i´m new in DM and in RapidMiner.

    I really like it.

    Thks again.
    Hello

    Royal wedding here - not invited but mildly drunk anyway

    I found this file
    C:\Program Files\Rapid-I\RapidMiner5\src\com\rapidminer\operator\generator\SimplePolynomialClassificationFunction.java
    and this code

    public class SimplePolynomialClassificationFunction extends ClassificationFunction {

    public double calculate(double[] att) throws FunctionException {
    if (att.length < 1)
    throw new FunctionException("Simple polynomial classification function", "needs at least one attribute!");
    if ((att[0] * att[0] * att[0] * att[0]) > 100)
    return getLabel().getMapping().mapString("positive");
    else
    return getLabel().getMapping().mapString("negative");
    }
    }
    cheers!

    Andrew
    Now yes!!

    Thks a lot Andrew!

    Best regards.