Git Product home page Git Product logo

torchcp's People

Contributors

ashutoshbsathe avatar benfei avatar caesarq avatar feinsteinben avatar fra31 avatar fugokidi avatar gwding avatar hipapaya2300 avatar hongxin001 avatar jeromerony avatar jianguo99 avatar laurentmnr95 avatar masoudhashemi avatar msalihs avatar samuelemarro avatar shinning-zhou avatar siebenkopf avatar tarokiritani avatar tracyjin avatar zzzace2000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

torchcp's Issues

Question regarding THR

Hello,

thanks for your very useful toolbox.
Since you seem to be very experienced with conformal prediction, could you give me an idea about the weakness of the THR score function, when combined with the SplitPredictor?

Across a range of models I tested, it seems to provide a vastly smaller average_size (Easily half of APS) for a given reached coverage_rate. Is it "just", as mentioned in the RAPS Paper (https://arxiv.org/abs/2009.14193), the theoretical guarantee of the coverage rate?

Additionally, I was wondering if the "naive" method of this paper (https://arxiv.org/pdf/2306.09335) is implemented here as well under a different name (Is it Margin?)?

Thanks again for your great work :)

Regards
Thomas

Margin Implementation

Hello,

and thanks again for your helpful toolbox.
I have a question regarding the implementation of "Margin()":

You mention
"
indices = torch.arange(num_labels).to(probs.device)
temp_probs[:, indices, indices] = -1

torch.max(temp_probs, dim=-1) are the second highest probabilities

"

Why would the comment be the case? From my perspective indices would need to something like
torch.max(probs, dim=-1).indices for this to make sense.
But I also dont understand why you unsqueeze anything here.
Could you maybe explain that?

Best Regards,

Thomas

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.