Apply Model Loop Attributes

SA_H
SA_H New Altair Community Member
edited November 2024 in Community Q&A
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

  • varunm1
    varunm1 New Altair Community Member
    Hi @summer_helmi

    Do you have multiple trained models? If so, did you try group models operator.
  • SA_H
    SA_H New Altair Community Member
    No, I trained each model separately. 
  • varunm1
    varunm1 New Altair Community Member
    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
  • SA_H
    SA_H New Altair Community Member
    Thank you. I am going to try the process using my datasets