Linear Regression Model operator in Rapidminer how to adjusted R Square value
Dear Colleagues
I using North Textbook example for Linear regression model (and Chapter04.csv data set) and using apply model operator and performance (regression) operator to get model performance metrics for the linear regression model
I using North Textbook example for Linear regression model (and Chapter04.csv data set) and using apply model operator and performance (regression) operator to get model performance metrics for the linear regression model
Rapidminer Performance (Regression) operator provides R Square but not the adjusted R Square value
If there anyway I can get Rapidminer to calculate and provide adjusted R Square value  formulae is 1  ((1R Sq) (N1) / (NP1)) where N = Sample size; P = Number of Predictor/Independent variables and R Sq = R Square value
Any help/clarification on above will be much appreciated
Kind regards Michael
0
Best Answers

Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 UnicornYou can have RapidMiner calculate the adjusted R squared using the formula you provided above or any other similar formula you like.
All the elements of that formula can be extracted using macros (see the Extract Macro operator) and the Performance to Data operator (you will need to download and install the free Converters extension from the marketplace).
Then just use the "Generate Attributes" operator and use the formula you want with the values you want.
1
Answers
I used following: