False positive is the case where the positive result of a test doesn't correspond to reality. It can lead to the wrong decision.
Questions tagged [false-positive]
236 questions
1
vote
2 answers
How to compute false positive rate of an imbalanced dataset for Stratified K fold cross validation?
The below lines are the sample code where I am able to compute accuracy, precision, recall, and f1 score. How can I also compute a false positive rate (FPR) for Stratified K fold cross-validation?
from sklearn.metrics import make_scorer,…

Arun Kumar Dey
- 47
- 1
- 6
1
vote
1 answer
Unit Testing regex to check for False Positives
so I have a Regex expression that I'm matching against a single string provided to check and match certain information. If it's matched, only the captured group is returned. I have made my function so that it removes any null strings from the…

rick458
- 97
- 6
1
vote
0 answers
Python type hinting decorator with specific arguments
Consider a wrapper that gets a class instance self and makes use of it before calling the decorated function:
def some_decorator(func: Callable[[Foo], None]):
@functools.wraps(func)
def wrap(self: Foo) -> None:
# Logic requiring the…

Iterniam
- 617
- 6
- 12
1
vote
0 answers
Python type hinting merging two lists of classes that subclass the same class
I have two classes, Foo and Bar that both subclass A. I want to merge two lists of the respective subclasses into one list of type list[A] while keeping the type hinting intact.
I expect the following examples to work:
class A: pass
class Foo(A):…

Iterniam
- 617
- 6
- 12
1
vote
1 answer
Build exe file with false positive (Delphi)
I have written a program and build the project. After that, I used VirusTotal.com to scan for suspicious malware and it detected 10. At first I thought it was effected by something that I coded, so I created an empty project and build it. To my…
user14733993
1
vote
1 answer
Minimize false positive results doing some image processing in an object detection model
I am using Mask-RCNN to solve an object detection problem. This is an implementation of Mask R-CNN on Python 3, cv2, Keras, and TensorFlow. I am trying to identify the damaged area of a truck. The results which I got are good when I am running the…

Shantanu Nandan
- 1,438
- 8
- 30
- 56
1
vote
0 answers
Dice score extremely low due to small number of false positives. Why does the dice score not consider true negatives?
I'm performing a binary image segmentation task using Fully convolutional networks on some medical data. To compare the ground-truth with my predictions and measure performance I use the dice coefficient. I selected a testing image that contained no…

maracuja
- 417
- 8
- 24
1
vote
1 answer
My C# DotNet DLL being detected as Ransomware by Windows Defender
This is a real shot in the dark. I have a C# DotNet solution (Visual Studio 2010) that consists of the EXE and several class library support DLLs. The Solution uses SMO (SQL Management Objects) to connect to and browse a database.
One of the DLLs is…

Neil Weicher
- 2,370
- 6
- 34
- 56
1
vote
1 answer
False positive when sending SIGTERM to Ginkgo test suite
While writing tests using Ginkgo framework I noticed, that pressing C-c to terminate a running suite generates false positive.
note the green "1 Passed"
When you look at the code you will notice this test should fail after 5 seconds. When I…

karmazyn
- 11
- 1
1
vote
1 answer
False virus/trojan alert on fresh created C# .exe file when downloaded from a website
I created/updated an installation application with C#, which installs files into the AppData/Roaming folders of the user. This installer loads and reads an XML file from a server, then copies file from this server to the local computer via HTTP…

Doerk
- 71
- 8
1
vote
1 answer
Launch4J creates exe file leading to false positives with VirusTotal?
I have an executable jar exported with ecplise (for example my.jar) that I transform to an Windows exe with using lauch4j (for example my.exe).
The my.exe is works correct, but if I load it on virus total, it founds this:
Jiangmin -…

RinaldoLisario74
- 21
- 1
- 2
1
vote
1 answer
False positive SQL Injection by ZAP in Spring MVC
I have a spring-mvc web application which is "Active scanned" by ZAP tool. It has two High medium alert for SQL Injection which I believe is a false positive.
The original URL is /msg/showList? which returns 200OK and json list of message. ZAP…

Hima
- 83
- 1
- 8
1
vote
1 answer
SHGetPathFromIDList (Delphi) - False Positive Issue
I am using Kaspersky Internet Security 2018. But when I compile my Delphi application with these codes, my anti-virus application will remove the compiled exe:
function BrowseForFolder(var dpFolder: String; dpTitle: String): Boolean;
var
…
user9675007
1
vote
2 answers
Bitdefender accusing viruses while compiling c++ source with CodeBlocks
I'm using Bitdefender few years ago, and CodeBlocks for some time, and today specifically the programs were not compiling, until I saw that BitDefender was accusing virus (Gen: Variant.Symmi.86658) in any compiled program, even in a new project with…

Rogério Dec
- 801
- 8
- 31
1
vote
1 answer
Confirming a reported vulnerability in ZAP (SQL Injection authentication bypass)
I need to manually confirm. the following... how do i go about it?
I have tried putting the parameter as the login name and the ZAP AND 1=1-- as the password in the form....this doesn't work. Do i even use the login form or do i use the URL and…

Joe C
- 11
- 3