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

Cross-Validation of R model failed

phivuphivu Member Posts: 34 Maven
edited November 2018 in Help

Hi RapidMiner,

 

I followed this tutorial (http://community.rapidminer.com/t5/RapidMiner-Studio-Knowledge-Base/Cross-Validation-of-R-Python-Models/ta-p/31978) to do cross validation of R Random Forest regression model but encountered an error as in the attached photo. However, the same R scripts work well for the single validation as in the attached process (Single-Validation.rmp). I also attached the cross validation process here. Do you have any idea?

 

Thanks a lot!

 

Best Regards,

phivu

R-Error.png

Best Answer

  • gmeiergmeier Employee-RapidMiner, Member Posts: 25 RM Engineering
    Solution Accepted

    Please move your operator "R Apply Model" down a bit. Then you can see that its second input port is not connected to the tes-port. After fixing the connection it should work.

     

    Best,

    Gisa

Answers

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    The script error appears to be looking for the data. Check your R script for where the data is being loaded from. 

  • phivuphivu Member Posts: 34 Maven

    Thanks Gisa!

Sign In or Register to comment.