question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DiscriminationThreshold seems to compute the minimum number of thresholds across trials, not max

See original GitHub issue

Presumably the following code should find the max number of thresholds found across all the trials so as not to ignore the values in the densest threshold list across all trials:

# Compute maximum number of uniform thresholds across all trials
n_thresholds = np.array([len(t['thresholds']) for t in trials]).min()
self.thresholds_ = np.linspace(0.0, 1.0, num=n_thresholds)

But this finds the minimum. So we may be losing information by bisecting with the sparsest number of thresholds rather than the densest.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
bbengfortcommented, Apr 16, 2019

@aronszanto glad to hear that you’re using Yellowbrick in your work! Do you mind if I ask where you work? (We’re just interested in how our users are using the library). Feel free to send me a DM on twitter (@bbengfort) if you want to chat about it!

If we can be of any help with your company lawyers, please let us know! Yellowbrick is licensed under a permissive Apache 2 open source license which means you can absolutely use it for commercial use and make modifications to the software. All we ask is that you include our copyright, license, and any notices along with your fork of the code. If you make any major changes to the code, we’d also ask that we were notified.

Hopefully your managers will agree with me that contributing to open source projects like YB enhances the value of your work and will let you open a PR with the fix you described. If they don’t, we understand - we are all volunteers doing this in our spare time and also have full time jobs that let us contribute more or less to other open source projects!

0reactions
aronszantocommented, Apr 16, 2019

Hey all, thanks for bumping. I discovered this and then wrote a fix for my company, which means that whether I can open source it is up to the lawyers. Working on this 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Section 2 Threshold Issues
This broad coverage ensures that individuals are protected against religious discrimination regardless of how widespread their particular ...
Read more >
Are discrimination thresholds a valid measure of variance for ...
The research described in the present article identifies two serious methodological flaws in these studies. Although discrimination thresholds can be influenced ...
Read more >
Psychometric functions for detection and discrimination ... - NCBI
Psychometric functions for discrimination reveal that discrimination thresholds with and without flankers are similar across standard levels, and that the ...
Read more >
Threshold estimation in two-alternative forced-choice ( ...
The 2AFC procedure can be used to estimate both ab- solute thresholds in detection tasks and difference thresh- olds in discrimination tasks. In...
Read more >
Measuring Auditory Discrimination Thresholds in ...
The step rule of a staircase will influence the number of trials required for a procedure to converge on a threshold estimate.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found