Hello everyone,I want prediction with aply model and linear regression but ı want prediction all at

Rümeysa
Rümeysa New Altair Community Member
edited November 5 in Community Q&A
Hello everyone,I want prediction with aply model and linear regression but ı want  prediction all attrübutes.How can use set role

Best Answer

  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    Answer ✓
    Hi,

    check out Loop Attributes. This will go through the list of attributes you select, and inside the loop you can use Set Role to mark the current attribute as the label. Put your modeling and prediction process into the loop. Use Store inside the loop with a variable name (e. g. including the loop_attribute macro) to save the result of each iteration.

    Regards,
    Balázs

Answers

  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    Answer ✓
    Hi,

    check out Loop Attributes. This will go through the list of attributes you select, and inside the loop you can use Set Role to mark the current attribute as the label. Put your modeling and prediction process into the loop. Use Store inside the loop with a variable name (e. g. including the loop_attribute macro) to save the result of each iteration.

    Regards,
    Balázs
  • Rümeysa
    Rümeysa New Altair Community Member
    Thank you @BalazsBarany .I am new I will try it
    Regards,
    Rümeysa