Giter Club home page Giter Club logo

Comments (4)

xrobin avatar xrobin commented on June 19, 2024

Do you have infinite values in the predictor variable? any(is.infinitie(set_temp$total_pymnt_woe)).
If so we're looking at issue #30. Otherwise, can you please identify which variable is causing this error and isolate a reproducible example?

from proc.

anka0501 avatar anka0501 commented on June 19, 2024

Thanks for the answer. My predictor variable has infinite values. So probably that's why the error appeared. I realized that this code worked on the older version of R. I reinstalled R from the version 3.5 to 3.4 and it works.

from proc.

xrobin avatar xrobin commented on June 19, 2024

This has nothing to do with the version of R, only that of pROC. The current error message is meaningless and I apologize about it. But versions prior to 1.12 could produce invalid ROC curves instead (ie. not reaching 0 or 100% sensitivity or specificity). V. 1.12 still does in some cases.

Version 1.13 in preparation will reject infinite values as described in issue #30, with a meaningful error message. This is because infinities cannot be thresholded properly from -Inf to +Inf as is required for ROC analysis. If you have infinite values in your predictor I suggest you find a way to replace them by finite values.

from proc.

anka0501 avatar anka0501 commented on June 19, 2024

You're right. I will change it. Thanks for the help.

from proc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.