Questions tagged [false-positive]

False positive is the case where the positive result of a test doesn't correspond to reality. It can lead to the wrong decision.

236 questions
4
votes
1 answer

Can I tell Visual Studio Code that I do not want to see certain types of Problems which are actually false positives?

I updated to Julia 1.8.1 and noticed that now I have thousands of items in the Visual Studio Code PROBLEMS tab. Clicking on the PROBLEMS button I see that most of them are not due to problems in my code and some are false positive in my code. My…
Soldalma
  • 4,636
  • 3
  • 25
  • 38
4
votes
0 answers

FASM executables & AV false positives

I'm currently working with FASM to compile Windows executables. However, I have noticed that there is a high rate of AV false positives, which I'm trying to understand and resolve. My approach is to create a minimal executable and try to "fix" the…
bytecode77
  • 14,163
  • 30
  • 110
  • 141
4
votes
0 answers

How to handle text classification model that gives few results with higher confidence to wrong category?

I had a dataset of 15k records. I trained the model using a k-train package and 'bert' model with 5k samples. The train-test split is 70-30% and test results gave me accuracy and f1 scores as 93-94%. I felt the model is well trained, But on…
4
votes
1 answer

How does Overfitting result in false positives in Object detection?

I am doing tensorflow object detection and I find that there are lot of false positives. One of the main reasons that I see for this is the case of overfitting. But my doubt is how does false positive become a result of overfitting? The overfitting…
Fasty
  • 784
  • 1
  • 11
  • 34
4
votes
1 answer

Strange behaviour of findbug with RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT

I have findebug which check find bug in one case and dont fing in another, and i completely do not understand how its connected. So i encounter this RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT and started to try different code, and found variant which…
Wizzard
  • 345
  • 3
  • 13
4
votes
1 answer

SonarQube, jump statements in finally block (squid:S1143)

I know, jump statements in finally block should not be used. In this simple example 'break' is used to break the 'switch'. SonarQube (5.6.3) with sonar-java 4.5.0.8398 reports an issue on: "Jump statements should not occur in "finally" blocks…
Tester
  • 173
  • 1
  • 10
4
votes
2 answers

@SuppressWarnings broken in SonarQube?

In SonarQube 4.5.x LTS the annotation @SuppressWarnings could be used to suppress false positives in code but after upgrading to 5.4 and re-arranging some packages these, previously suppressed, issues have resurfaced. Why? I have been told that the…
Alix
  • 2,630
  • 30
  • 72
4
votes
2 answers

How can I switch the ROC curve to optimize false negative rate?

ROC curves plot TPR vs. FPR and vary the thresholds based on the rank order of the probabilities of the training set. The threshold that is picked is the probability associated with the point in the top left hand most corner. That basically…
SriK
  • 1,011
  • 1
  • 15
  • 29
4
votes
1 answer

Sonar reports false positive for insufficient branch coverage in try-with-resources block

Using the latest version (4.3.2) of SonarQube, a try-with-resources block gives a false positive to branch coverage of the catch line. For example: public List getLines(String filename) { try (InputStream inputStream =…
Bohemian
  • 412,405
  • 93
  • 575
  • 722
4
votes
1 answer

NP_NULL_PARAM_DEREF_NONVIRTUAL: i donot understand or false positive

Findbugs triggers NP_NULL_PARAM_DEREF_NONVIRTUAL in the below statement I can't figure out why findbugs recognize registerationdate as nonnull parameter. I can see the second constructor checks nullness of registerationdate. Therefore, null deref…
user3610899
  • 121
  • 2
  • 7
4
votes
1 answer

clang++ 3.3 static analyser, how to get rid of a false positive?

I've been running clang 3.3's static analyser on various projects of mine. Except some issues that were my own fault (which was to be expected, I would have been both very sad and very smug otherwise), all went pretty smoothly except the following…
syam
  • 14,701
  • 3
  • 41
  • 65
4
votes
1 answer

Plot of probability of false alarm and ROC curve

How to plot a graph for false positives per window vs miss rate (or probability of false alarm) and ROC (receiver operating curve) for an object detection application using video?How to determine the number of false positives and hits?An example…
Shreya M
  • 107
  • 1
  • 2
  • 11
3
votes
1 answer

ROC curve from the result of a classification or clustering

Say that I've clustered a training dataset of 5 classes containing 1000 instances, to 5 clusters (centers) using for example k-means. Then I've constructed a confusion matrix by validating on a test dataset. I want then to use plot a ROC curve from…
shn
  • 5,116
  • 9
  • 34
  • 62
3
votes
2 answers

False positive vs. false negative trade off plot

I'm working on a decision making analysis where I'm trying to illustrate the trade off between false positive (false go) vs. false negative (false no-go) using R. I have created a density plot with null and alternative hypothesis curves, but would…
user2272972
  • 131
  • 1
  • 11
3
votes
1 answer

Words to exclude from a search

I am looking for a list of words that I can use as exclusions from a product search, as they will give to many false positives. This would include things like 'a', 'with', 'and', 'the' and so forth. Does anyone have or know where I could download a…
1 2
3
15 16