AUC Unknown

emteeemtee Member Posts: 3 Contributor I
edited March 2020 in Help



I'm doing predictive modeling using logistic regression with batch x validation. Everything is working fine I guess except for the AUC value. It shows Unknown as shown in the attached image. I also attached a screenshot of my process for your reference. Thank you!


  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,507 RM Data Scientist

    Hi Emtee,


    kind of funny. I yesterday had an internal talk about Batch X-Val :).

    Are you sure that each fold of X-Val has both classes in it? Otherwise the AUC gets NaN, which might explain it. To check this you can either use breakpoints or use a store with something like ../data/%{a} as a path. %{a} will be replaced with the executions count of this operator (1 in the first iteration, 2 in the second etc). You have then k results in your repo and can check it.



    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    ozgeozyazarozgeozyazar Member Posts: 21 Maven
    Hi @mschmitz !

    I also has this kind of output and I do not understand your solution advice. Could you please add more details ?

    By the way, I am doing classification with decision tree with AdaBoost and using cross validation.

    Best Regards,

  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    If you have a small sample or a very imbalanced class, you could end up with a sample that does not contain both classes, in which case the AUC is not defined.  @mschmitz is saying you should check your samples and ensure that is not the case.   You can usually prevent this if you are using automatic sampling but if you are using other other sampling options it does not control for this.

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
  • Options
    ozgeozyazarozgeozyazar Member Posts: 21 Maven
    Hi @Telcontar120

    thanks for explanation ☺️
Sign In or Register to comment.