Apply Model Loop Attributes

SA_HSA_H Member Posts: 29 Contributor II
edited June 2019 in Help
Please I am using a ML classifier to train my model (binary classification problem). Because my data is huge, I only trained the model using a subset of the data. Now, I want to apply the trained model on the whole original datasets (in CSV format of size more than 10 GB, 30 attributes) and create one prediction attribute. Any suggestions if you please.

Answers

  • varunm1varunm1 Moderator, Member Posts: 1,207 Unicorn
    Hi @summer_helmi

    Do you have multiple trained models? If so, did you try group models operator.
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

  • SA_HSA_H Member Posts: 29 Contributor II
    No, I trained each model separately. 
  • varunm1varunm1 Moderator, Member Posts: 1,207 Unicorn
    edited April 2019
    Sorry, I understood now. You are asking about applying the trained model on multiple CSV files and get predictions into the same set.  I attached three files, one is the process (.rmp) shown in the below image which you need to import into RM (File --> Import Process). The other two are datasets related to Titanic. The training is done on Titanic1 which you need to set in read csv operator and the Files zip folder should be extracted and the path to extracted folder should be set in Loop Files operator this will then apply trained decision tree on all the csv files present in Files folder.



    See if this satisfied your need and inform if you need more information.

    Thanks
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

  • SA_HSA_H Member Posts: 29 Contributor II
    Thank you. I am going to try the process using my datasets
Sign In or Register to comment.