I have to provide 2 models(1 has to neural net). It is for a card credit card fraud detection proj.

Andr3w_j_A
Andr3w_j_A New Altair Community Member
edited November 2024 in Community Q&A

Here is the process i have come up with


Linear regression model


Neural Net
Struggling so bad so can anyone please help asap, please. It cannot even run as it is saying: "non-nominal label". Performance (classification) cannot handle numerical label. Can any one please help
Tagged:

Best Answer

  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    Answer ✓
    Hi!

    I don't see your label in the screenshot. What kind of attribute is it? The modeling algorithms and also the Performance operator need to match the label's type. 

    You should do Set Role before the cross validation, not inside it. The Performance operator needs to have both the prediction and the label attributes, but if you do it only in Training, it won't be applied in Testing. 

    Regards,
    Balázs

Answers

  • Andr3w_j_A
    Andr3w_j_A New Altair Community Member
    @Telcontar120 could you please help if possible
  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    Answer ✓
    Hi!

    I don't see your label in the screenshot. What kind of attribute is it? The modeling algorithms and also the Performance operator need to match the label's type. 

    You should do Set Role before the cross validation, not inside it. The Performance operator needs to have both the prediction and the label attributes, but if you do it only in Training, it won't be applied in Testing. 

    Regards,
    Balázs
  • Andr3w_j_A
    Andr3w_j_A New Altair Community Member
    Thank you for the reply. Here are the changes I implemented