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.
Options

dependent attribute

SimonKSimonK Member Posts: 20 Contributor I
Hello,

Is it possible to display an attribute, of which I know the value, as a function of other attributes?

This means that for each time series a separate function should be created that describes the attribute.

Thanks in advance

Simon

Best Answers

  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    Solution Accepted
    @SimonK I understand, but don't get hung up on the vocabulary here. In this context "predict" is simply a word  that means "represent as a functional combination of other attributes" even when it is already known. If your target attribute is actually a pure functional output of the other inputs, then your "model" will achieve 100% accuracy. If it does not, then you may not have a set of relationships that can be expressed with 100% consistency.  Without seeing the dataset it is impossible to be more specific. 

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    Solution Accepted
    Yes, of course, you simply need to filter for each series (whatever that means for your dataset, I guess it could be a single row or a group of related rows) and run the analysis for each one separately and store each resulting model using the Store attribute.
    If you have a large number of series, this could be further automated with several of the Loop attributes, you might want to check those out and perhaps some of the tutorials regarding process control in RapidMiner.
    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts

Answers

  • Options
    ceaperezceaperez Member Posts: 541 Unicorn
    Hi @SimonK
    With the Generate Attributes operator you can create new attributes using several functions and other attributes from your dataset. 

    Regards
  • Options
    SimonKSimonK Member Posts: 20 Contributor I

    I have already looked at the Generate Attributes operator, but unfortunately have not found a function that could solve my problem.

    Regards
  • Options
    ceaperezceaperez Member Posts: 541 Unicorn
    Hi @SimonK
    can you share your model and/or explain in more detail your issue?

    Best
  • Options
    SimonKSimonK Member Posts: 20 Contributor I
    I have 5 attributes and want to represent attribute 1 as a function of attributes 2-5. A separate function is to be formed in each data series.

    Example:
    A1     A2     A3     A4     A5         function (can be linear, polynomial, ...)
    -----------------------------------------------------------------------------------
    10     20      30     40      50         x1*20+x2*30+x3*40+x4*50=10
    15     22      39     43      51         y1*22+y2*39+y3*43+y4*51=15
    ...       ...       ...      ...       ...           ...

    Regards

  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    What you are asking for is essentially what regression modeling does. You have a numerical label and you want to calculate it as a function of other input attributes. Those functions can be linear (in linear regression), polynomial (in polynomial regression), or non-linear (complex functions like neural nets). So try setting the attribute you want to predict/calculate as the label and then you can use various regression modeling operators to see how it will work. You can view the linear regression operator tutorial if you need help setting this up.

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
  • Options
    SimonKSimonK Member Posts: 20 Contributor I

    I do not want to predict attribute 1, but only represent it by the other attributes (2-5).

    Regards
  • Options
    SimonKSimonK Member Posts: 20 Contributor I

    Thank you very much!
    With your tips, I get a general function that is calculated from my entire data set.
    However, I would be interested to know whether it is possible to generate a separate function in each time series.

    Regards
Sign In or Register to comment.