The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 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
split validation linear regression connection error
1630717bremmers
Member Posts: 2 Learner III
So I have this project I have been working on and I splited my dataset with split validation to use linear regression on it, but to the connection etc I used the permormance regression after I used apply model, but the outcome of the proces is not quite right, I believe it's because the mod port from the apply model is not connected to the end, is there a way to fix that?
Thanks in advance.
Tagged:
0
Answers
Hi @1630717bremmers,
"..but the outcome of the proces is not quite right..."
Could you be more precise and explain what you mean ?
Thanks you,
Regards,
Lionel
The only outcome I have is the root mean squared error from the peformans operator. I'm not getting the prediction from the linear regression
Hi @1630717bremmers,
Many things :
1. To visualize your model connect the output port mod of Split Validation operator to the res port.
2. To calculate and display other performance metrics (not only the RMSE), check them in the parameters of Performance(Regression) operator.
3. To calculate and display the prediction there are 2 ways :
a. Use the couple Remember / Recall to recover the labelled dataset inside the Split Validation operator, like in this process (to adapt to your own data) :
b. Use a Cross Validation operator instead the Split Validation operator and connect the test output of Cross Validation tes
to the res port.
In deed, the performance calculated in a cross validation is considered as more representative of the real performance of your model on future unseen data.
I hope it helps,
Regards,
Lionel
You can also just use Store to save the model, and then use Apply Model with it and any other dataset (including the original development dataset) in the future to generate the set of predictions using that model.
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts