Giter Club home page Giter Club logo

Comments (4)

svjack avatar svjack commented on May 22, 2024

Hello,
I am using tf 1.11 and tft 0.11 with Adanet 0.4 (but also happened with 0.3). I am getting the warning:

WARNING:tensorflow:Trapezoidal rule is known to produce incorrect PR-AUCs; please switch to "careful_interpolation" instead.

A bit of search has taken me to:
https://stackoverflow.com/questions/50850258/tensorflow-estimator-switching-to-careful-interpolation-to-get-the-correct-pr-a/51288757

I have tried to implement this calling on the object obtained from adanet.Estimator but I receive an error saying the estimator object can not be directly called.

Any suggestions on how to solve the problem or avoid it in the first place?
I am using a modification of the adanet_objective example just changing it to use other data (the Criteo dataset) so, I don't really understand why the warning appears because it doesn't when I run the original example.

add_metrics init a estimator use base class Estimator in tensorflow rather than adanet.
this issue may occur because the ensemble form of multi-iterations.
may you provide your builder and generator class of adanet ? and head metric may be important.

from adanet.

picarus avatar picarus commented on May 22, 2024

Yep, I found that just after I submitted the issue.
But my key point here is why the issue happens when I change the dataset if it does not happen with the original data in the same environment.

from adanet.

cweill avatar cweill commented on May 22, 2024

Are you using tf.contrib.estimator.binary_classification_head? I think it's an issue with one of the metrics in there, so it's not unique to adanet.

from adanet.

picarus avatar picarus commented on May 22, 2024

Thanks! Totally right!

from adanet.

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.