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.
204
questions
2
votes
2answers
30 views
pandas duplicate values: Result visual inspection not duplicates
Hello thanks in advance for all answers, I really appreciate community help
Here is my dataframe - from a csv containing scraped data from cars classified ads
Unnamed: 0 NameYear ...
0
votes
1answer
36 views
Is there a way to see False Negative rows?
I have a data frame, split into train and test data sets, run svm, predict and confusion matrix functions.
How can I see which rows are False Positive and False Negative?
Data_7c<- Data_7G[, c(6, ...
0
votes
0answers
28 views
How to find If a Wifi is with or without an internet connection
I'd like to find if an wifi has internet connection or not.
Sometimes our devices are connected with wifi but wifi doesn't have any interent connection.
NWPathMonitor or Connectivity thirdparty. I ...
1
vote
1answer
125 views
Why does Windows Defender detect compiled autoit executables as viruses?
I have another issue not related to script or syntax
it a problem with the windows defender
I write a very very basic program. this
ProgressOn("Waiting", "Setup", "Loading&...
0
votes
0answers
17 views
Auto generated field are false positive for css xss link injection attack?
In my uniface application session Id is auto generated with uniface startup scripts and it is hidden field but after scanning for vulnerabilities report is giving the session id field is vulnerable to ...
0
votes
1answer
59 views
Why does Clang static analyzer think that this is use-after-free?
I'm probably just stupid:
fileref_t *fref;
while (gli_filereflist != NULL)
{
fref = gli_filereflist;
if (fref != NULL)
{
glk_fileref_destroy(fref); &...
0
votes
1answer
110 views
Build exe file with false positive (Delphi) [duplicate]
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 ...
0
votes
2answers
56 views
Finding the rhyming words in a corpus with R, regex
I have the following corpus:
corpus_rhyme <- c("helter-skelter", "lovey-dovey", "riff-raff", "hunter-gatherer",
"day-to-day", &...
0
votes
0answers
20 views
memory leak in push function
This was my initial implementation, there is no memory leak detected when I call push function.
Class PQ
{
…
Struct NodeData
{
…
std::vector&...
0
votes
0answers
27 views
How hard is it to workaround Assembly Loading false-positives? And how to do it?
I'm creating an application which needs loads an assembly into the application and invoke the EP, but it's getting false-positive detection by some AV's, how could i avoid it?
code being flagged:
...
0
votes
1answer
39 views
What does it mean when my CNN has zero false negatives?
I'm working on a convolutional neural network to classify an image dataset with binary labels (either 0 or 1). In training the network, each epoch ends up having zero false negatives, does that mean ...
1
vote
1answer
40 views
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 ...
0
votes
0answers
36 views
How tov separate the given sample into 2 subsamples; positive and negative?
I am running a regression analysis on one dataset, the output consists of positive and negative residuals.
I was asked to calculate the mean values of negative residuals and positive residuals.
c(Left....
0
votes
0answers
125 views
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 ...
0
votes
1answer
231 views
Training out false positives in object detection
This is my first foray into the world of object recognition. I have successfully trained a model on yolo with images that I have found on Google and annotated myself in CVAT.
My questions are as ...
0
votes
0answers
16 views
Closing Whole Position Issue & False Buy and Sell Signals
I have been programming for a few years but I am brand new to thinkscript and have run into some issues I cant fix. Any help is appreciated.
As you can see from the screen shot below the buy and sell ...
0
votes
1answer
49 views
Bringing Cppcheck and VCL together
Cppcheck now has a check to detect references to temporary which leads to false positives (danglingTemporaryLifetime) for code involving VCL classes (of C++Builder6).
Here is test.cpp
//---------------...
0
votes
0answers
22 views
How to Write False Positive/Negative Tests? (for Jasmine or similar)
Is it possible to capture the pass/fail results of a Jasmine assertion and run assertions on the result before it hits the reporter?
I am currently working on an internal test framework that wraps ...
-1
votes
1answer
47 views
Test passes with a False-Positive
I am getting false positive for my test. I am looking for the key, "1234", and I know it does not exist but the test still passes.
I have MAP method (reportUIDsAndTitles) that stores a bunch ...
0
votes
0answers
25 views
False Circular Reference error in libreoffice calc
Trying to enter or paste a stock market option string into a cell in libreoffice. Here's the string:
"-WBA201016P42.5" (The prefix hyphen is necessary.)
It always produces the string "=-...
0
votes
1answer
83 views
rustc false positive warning about value never read?
Following this article about writing a shell in Rust. Compiler outputs a warning about a variable never being read.
use std::io::stdin;
use std::io::stdout;
use std::io::Write;
use std::process::...
0
votes
1answer
462 views
Why sometimes yolo object detector predicts multiple bounding box per object?
I was reading this report which I faced a problem that I have it too. I have trained a model by yolov3 algorithm and sometimes it predicts more than 1 bounding box over one object. I was wondering ...
0
votes
0answers
152 views
One-Class SVM threshold parameter
I have to implement metrics FPR at 95%TPR.
In order to do that I have to look for the different decisions of OCSVM dependent on the threshold.
If I execute this simple code:
# Generate train data
X =...
3
votes
0answers
69 views
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%. ...
-1
votes
2answers
314 views
Unused method parameters should be removed (squid:S1172) false positive using lambda
I have a working method that uses parameter as a lambda expression
private BiConsumer<List<String>, Properties> handleList(Properties p) {
return (list, prop) -> executeSubList(...
0
votes
1answer
174 views
Methods and field names should not differ only by capitalization (squid:S1845) false positive
I have a field name which is similar to static constant
public static final String MAIL = "mail";
private String mail;
I'm getting sonar warning:
`Methods and field names should not be the same or ...
0
votes
1answer
48 views
guava - bloomfilter: is it possible to get a true-negative for a value that was **previously** a false-positive?
If I understand correctly, once an item is put inside a guava bloom filter, mightContain will always return true. If the filter returns false on mightContain, then the value has never been put inside ...
0
votes
0answers
69 views
False positive Sonar S1452 on return type containing generic of wildcard generic in java [duplicate]
I have a function similar to:
public MyService<DTO<?>> getMyService(){ ... }
Which means, get an instance of MyService that works for DTO of any generic type.
And I get a sonar s1452 ...
0
votes
1answer
32 views
False positive and false negative without loop in R
I have the following dataframe (simplified example)
y.true yhat
1 U E
2 E U
3 U E
4 E U
5 E U
6 U E
7 E U
8 E E
9 U ...
1
vote
1answer
484 views
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 ...
3
votes
1answer
604 views
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 ...
2
votes
1answer
164 views
find roc/auc/auc-roc score for single class 1's in y_true variable
How to calculate auc or roc or auc-roc score from y_true and y_pred values for SINGLE CLASS in y_true using python code.
I have checked various similar questions on stackoverflow and internet but ...
0
votes
0answers
4k views
BitDefender says Code Insiders download has Heur.BZC.NZF.Pantera.7.37C58EF0
I tried to download the latest Code Insiders at work (the regular Code download scanned fine) and BitDefender said:
On-Access has detected a threat.Bitdefender has detected malicious behavior on ...
0
votes
1answer
62 views
Where is the leak in my Java 7 code? Is it a false positive? (Using FileChannel to write a 771kb ByteBuffer (fileFinal)
I am writing a Java 7-compatible program in eclipse, and a part of the code I wrote says there is a memory leak. Here is my code:
FileChannel output1 =
-->new FileOutputStream(System....
0
votes
2answers
75 views
Why actual false positives are much less than desired false positive probability in Guava's BloomFilter?
I use a Bloom Filter with a small desired false positive probability (fpp) and get much less result:
BloomFilter<Long> bloomFilter = BloomFilter.create(Funnels.longFunnel(), 1_000_000, .001)...
0
votes
1answer
3k views
Understanding Miss Rate vs FPPI metric for object detection
I have a plot between MR vs FPPI for an object detection model which was trained on a dataset for detecting cars. However, I have no clue how to understand this graph and thus am unable to come to a ...
2
votes
1answer
178 views
PyCharm thinks variable is not used but clearly is inside class method?
For some reason PyCharm is telling me that 3 of my 5 list are not used in my function but they in fact are being used in the function and the code completes with the expected results.
This is odd ...
1
vote
0answers
597 views
Tensorflow/Keras: Cost function that penalizes specific errors/confusions
I have a classification scenario with more than 10 classes where one class is a dedicated "garbage" class. With a CNN I currently reach accuracies around 96%, which is good enough for me.
In this ...
2
votes
1answer
363 views
Reed Solomon Error DETECTION capability is not 2T
I am setting up a Reed Solomon library to correct AND detect errors as the come in. For simplicity, let's look at a Reed Solomon configuration where
m(symbol size) : 8 [GF(256)]
k(user payload) :...
1
vote
1answer
96 views
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 ...
3
votes
0answers
717 views
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 ...
0
votes
0answers
53 views
Application marked as Virus by Microsoft AV - Unsure what behavior it is finding suspect or what to do to try and get it removed
I'm working on a little automation application for a client in DotNet (framework 4.5) and I just got the last version of the application deployed to the client and up and running. However after about ...
7
votes
2answers
648 views
clang-analyze: how to avoid “garbage value” warning?
When checking
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
char c[20];
size_t l;
l = fread(c, sizeof c, 1, stdin);
if (l != 1)
return 1;
...
0
votes
1answer
323 views
Fixing checksum issues on intel HEX files
I have made the following intel hex file snippet to test with a couple 8051 processor simulators:
:1000F5007002501F500CED2562FDEE3561FEEF35A7
:1001050060FFE56233F562E56133F561E56033F57E
One I used ...
0
votes
1answer
184 views
Is it possible to ignore one single specific line with pylint, without changes to the source code?
Is it possible to ignore one single specific line with pylint? has solutions that requires littering source code with comments what is undesirable for me.
Is there way to specify that given instance ...
0
votes
0answers
140 views
IntelliJ showing false positive errors
My project complains about a missing 'symbol'. All of the classes it claims are missing/do not exist do in fact exist, I've verified myself and they are all present. Additionally, building the code ...
0
votes
2answers
75 views
PHP Is one value set and not another
I'm working on a truthy/falsy where I need to check 2 values, of which one may be null, the other 0. If integer vs string value same, they'd be the same.
The simplest I've been able to break it down ...
12
votes
3answers
7k views
how to recompile the bootloader of Pyinstaller
I have an AntiVirus false positive problem of my exe file generated using PyInstaller, by searching i found this answer witch consist of recompiling the bootloader and i just can't get it done.
This ...
1
vote
4answers
3k views
Sonarqube false positive for “Use try-with-resources or close this ”ResultSet“ in a ”finally“ clause”
Sonarqube keeps marking code with this issue which is, in my opinion, a false positive.
Code looks like this:
try(PreparedStatement st=con.prepareStatement(myQuery)){
st.setInt(1, myValue);
.....
1
vote
0answers
268 views
PHPUnit false positives when running tests in separate processes
I have my test class like this:
/**
* @runTestsInSeparateProcesses
*/
class ProfileTest extends TestCase
{
public function testFalsePositive()
{
$this->assertFalse(true);
}
}
...