Getting the function of the Regression in the ExampleSet, Visualisations Register in a Scatter Chart

Carlo
Carlo New Altair Community Member
edited November 5 in Community Q&A
Hi Community,
I would like to get the function of the displayed regression in the visualisations register (Example Set) for a Scatter Chart is there any possibilty?

Thanks a lot for your support.

Carlo

Best Answers

  • Telcontar120
    Telcontar120 New Altair Community Member
    Answer ✓
    Instead of deleting the country attribute, you can do this simply by first filtering for the value of each country one at a time, running the regression, and then capturing the associated linear regression model.  You could do this manually, or you could actually automate it easily with a Loop operator in RapidMiner (filter for each country value, build a regression, and save the model).
  • sgenzer
    sgenzer
    Altair Employee
    Answer ✓
    hi @Carlo - ok a lot going on here. Perhaps you just want to use a Loop Attributes operator? You can then select the subset (countries) to loop, and then use Select Attributes and your Linear Regression inside the Loop Attributes operator. That will likely do the trick.

    Scott



Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    Currently that is not possible, but for linear regression in Scatter plots the function will be shown in the tooltip with the next patch (9.2.1).

    Regards,
    Marco
  • Carlo
    Carlo New Altair Community Member
    Hi Marco,

    sounds great - is there already a date defined for the next patch?

    Thanks again,

    Carlo
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    I cannot give you a definitive date, but right now the patch is planned for the week of the 18th.
    Obvious disclaimer: if something goes wrong it may get delayed.

    Regards,
    Marco
  • Carlo
    Carlo New Altair Community Member
    Okay thanks :)

    Do I have another option to get the the regression function for several sets of my example set?

    Regards,
    Carlo
  • sgenzer
    sgenzer
    Altair Employee
    if you just want the regression function you can use the "Linear Regression" operator. :wink:
  • Carlo
    Carlo New Altair Community Member
    Hi sgenzer, thanks for your post. I tried already the Linear Regression operator but my problem is, that I need the Linear regression for a several set of countries. So p.e. I need the Linear Regression for Italy, Spain and Portugal (first set) and second set France, Netherlands, Germany (second set) etc. etc.
    The linear regression operator works only with numerical numbers, which means I have to delete the column of the country names, so then I can not set different sets. In the result I have just one regression function for all the data / all the countries...
  • Telcontar120
    Telcontar120 New Altair Community Member
    Answer ✓
    Instead of deleting the country attribute, you can do this simply by first filtering for the value of each country one at a time, running the regression, and then capturing the associated linear regression model.  You could do this manually, or you could actually automate it easily with a Loop operator in RapidMiner (filter for each country value, build a regression, and save the model).
  • sgenzer
    sgenzer
    Altair Employee
    Answer ✓
    hi @Carlo - ok a lot going on here. Perhaps you just want to use a Loop Attributes operator? You can then select the subset (countries) to loop, and then use Select Attributes and your Linear Regression inside the Loop Attributes operator. That will likely do the trick.

    Scott