Questions tagged [threshold]
The starting point for a new state.
threshold
249
questions with no upvoted or accepted answers
12
votes
1
answer
8k
views
Jenkins xUnit test result report
I have a Jenkins job to copy some test reports(XML) to local and convert them to JUnit reports via xUnit.
The issue is that there are no failed or skipped tests, but I always get
[xUnit] [INFO] -...
8
votes
1
answer
5k
views
OpenCV Finding Correct Threshold to Determine Image Match or Not with Matching Score
I'm currently making a recognition program using various feature extractor and various matcher. Using the score from the matcher, I want to create a score threshold which can further determine if it's ...
5
votes
0
answers
674
views
How to make code coverage threshold on gitlab or in YAML
I've configured CI on gitlab but now I need to configure code coverage threshold. How can I do this? Is is possible to configure it using gitlab or I need to write python script for it? I've checked ...
5
votes
0
answers
945
views
The Thresholded Histogram in Python -- Force each bin to have at least N objects
In the typical histogram created with Numpy.histogram or matplotlib.pyplot.hist, the bins are of uniform width or the user specifies his/her own bin edges. There are lots of choices about optimal bin ...
4
votes
0
answers
2k
views
Writing robust (size invariant) circle detection (Watershed)
Edit: Quick Summary so far: I use the watershed algorithm but I have probably a problem with threshold. It didn't detect the brighter circles.
New: Fast radial symmetry transform approach which didn'...
4
votes
0
answers
85
views
Calculating a threshold based on the connectedness of a weighted graph
Given a matrix like the one that follows (but a lot bigger) that describes a weighted undirected graph,
structure(list(from = c("TPM1", "TPM1", "TPM1", "TPM1", "TPM1",
"TPM1", "TPM1", "TPM1", "TPM1",...
4
votes
0
answers
453
views
Weird behavior of Intel's MKL and Python (Ubuntu 16.04, Conda 4.3.30)
I am trying to improve the performance of NumPy in Python 3.6 using Intel's MKL. With a fresh anaconda installation i created a MKL environment using:
conda create -n idp intelpython3_core python=3
...
4
votes
0
answers
233
views
Defining a threshold for feature matching in geometrical re-ranking
I'm implementing a cache for virtual reality applications: given an input image query, return the result associated to the most visually similar cached image (so a previously processed query) if the ...
4
votes
0
answers
1k
views
Threshold for TF-IDF cosine similarity scores
This question is very similar to this one: Systematic threshold for cosine similarity with TF-IDF weights
How should I cut off tiny similarities? In the link above, the answer gives a technique based ...
3
votes
1
answer
1k
views
how to calculate Otsu threshold in 1D
I'm trying to identify bimodal distributions in my analytical chemistry data. Each data set is a list of 3~70 retention times for a particular compound from the GC-MS. RTs for some compound are ...
3
votes
0
answers
647
views
R - Threshold linear regression model
I am looking for a package in R containing a threshold regression model or a threshold autoregressive (ar) model with extra exogenous explonatary variables for time series? By now I came across ...
3
votes
0
answers
416
views
Iterate over a tensor's rows and cols in Tensorflow
A part of my project is to use a thresholding kernel on an image.
The thresholding kernel could look like this:
[50 100]
[150 200]
I would like to go over each group of 3x3 pixels (without overlap)...
3
votes
3
answers
1k
views
ImportError: No module named pyplot - Opencv
I am trying to execute the following code:
import cv2
import numpy as np
import matplotlib.pyplot as plt
img = cv2.imread('Paw01.png',0)
img = cv2.medianBlur(img,5)
ret,th1 = cv2.threshold(img,127,...
3
votes
0
answers
526
views
How many thresholds and distance matrix are in Eigenface?
I edited my question trying to make it as short and precise.
I am developing a prototype of a facial recognition system for my Graduation Project. I use Eigenface and my main source is the document ...
3
votes
2
answers
2k
views
Find threshold cross in Matlab timeseries data, then ignore subsequent crosses for 60 seconds before finding next threshold cross
This is a little complicated to explain. I have time series data formatted like this: https://docs.google.com/spreadsheets/d/1B8mN0uD-t4kQr2U20gS713ZFHN6IgGB7OMR3-pqJjrw/edit?usp=sharing
That data ...
3
votes
1
answer
608
views
Clusters merge threshold
I'm working with Mean shift, this procedure calculates where every point in the data set converges. I can also calculate the euclidean distance between the coordinates where 2 distinct points ...
2
votes
0
answers
135
views
Best way to choose a threshold for a multiclass classification problem
I have build a model using Keras. My main aim is to classify animals belonging to 10 different categories. The model is performing well. However, when I am testing the images with non animal images, ...
2
votes
1
answer
1k
views
Extract text from image using pytesseract in two-tones background
I'm trying to extract text from an image using pytesseract on Python. This is the image where I want to extract the text:
Original Image
This is the image after applying threshold:
Image with ...
2
votes
0
answers
101
views
R Tuning Binary Prediction Threshold
I am running a multilevel binary logistic regression (MLBLR) model using glmer. After having trained the MLBLR on the training data (which was created using Tidymodels), I now intend to tune/calibrate ...
2
votes
1
answer
433
views
pROC package with pre-specified cutoff values with two decimals
In the roc function of pROC package I would like to print my specific cutoff values (print.thres parameter) with two decimal digits, because one cutoff is 0.05 and in the plot appears as 0.0 Any ...
2
votes
0
answers
290
views
thresholding in first and second order derivative edge detection
I'm having some conceptual confusion with regards to first and second order derivative edge detection methods. When you run a first or second derivative order filter, you get a greyscale output with ...
2
votes
0
answers
460
views
How to reconstruct the signal by applying thresholding on wavelet coefficients?
I want to reconstruct a 1D audio signal by thresholding the wavelet coefficients. First of all, I read the audio signal and normalised it. After that I added white Gaussian noise. Subsequently I ...
2
votes
1
answer
2k
views
Practical determination of anomaly threshold in (variational) autoencoders
Although not strictly a programming question, I haven't found anything about this topic on this site. I currently dealing with (variational) autoencoders ((V)AE), and plan to deploy them to detect ...
2
votes
1
answer
2k
views
R adding an if.else statement to function to return "null"
I have a question linked to another post from yesterday:
R finding the first value in a data frame that falls within a given threshold.
As per previous post I have data frame with optical density (...
2
votes
0
answers
2k
views
Impulse response functions for Threshold VAR in R
I have two variables (a financial stress index "CISS" and output growth).
Using the tsDyn package in R, I first calculated the TVAR. paperis the time series consisting of CISS and the output growth.
...
2
votes
0
answers
729
views
HSV value range for all shades of gray
I would like to selectively filter out values of shades of gray(silver included) using opencv. I am unable to figure out how to pick out the right hsv values for the same.
2
votes
0
answers
123
views
Google Text-To-Speech volume for Spanish low, break the max threshold?
I am having trouble with an android device i am working on. I can successfully change the language on the device and English volume is great. But for some reason(even at max level) Spanish is ...
2
votes
0
answers
2k
views
Multilevel Otsu Threshold Matlab
I have tried to implement the Mutlilevel Otsu Threshold Algorithm but my values does not correspond to the ones from the matlab internal function, maybe I have mistake.
This is the standard Algorithm:...
2
votes
1
answer
195
views
Filter outlook emails until a threshold/count is reached
I get a set of alerts by email from a device anytime it has connectivity issues. It is typical to see about 15 email alerts every day for connectivity issues for several reasons. These are mostly ...
2
votes
0
answers
95
views
OpenCV Otsu threshold: different results on Ubuntu (openSUSE) and OS X
When using Otsu's threshold provided by OpenCV on several systems I ran into a problem: the very same video frame was thresholded in a different way. To be more specific, on OS X it provides adequate ...
2
votes
1
answer
427
views
Finding the best threshold level without a for loop in MATLAB
Let A and B be two matrices of the same size. For a matrix M, let ht(M,t) threshold all the entries of M by t. That is All entries whose absolute value is less than t are set to 0. Suppose I want to ...
2
votes
1
answer
2k
views
Subset a data frame in R based on above and below a threshold value
I searched a lot to find similar post to my post below but no luck yet
I have 1 column of data like below (extracted from original big file having many columns)
C1
0
1
2
3
4
3
3
2
1
From this ...
2
votes
0
answers
467
views
Threshold frequency is not working in spell check in Solr
I am get stuck in middle of Solr. I need only most popular words w.r.t query. I have used phonetic filter on both index and query but here the problem is that it is giving too many terms. I need only ...
2
votes
1
answer
3k
views
Opencv and Image Processing: Extracting contour of the body frame
I am a beginner in image processing and just started fiddling with OpenCV for a project. I have a video signal of pedestrian walking.I am running the pedestrain.cpp program whic does th bckgound ...
2
votes
0
answers
1k
views
How to determine the overall pixel values of an image to set the threshold value
I'm a Matlab newbie. I tried to load an image and perform background subtraction on it. But, I don't know how to determine the threshold value based on my result. I have tried using histogram and ...
2
votes
0
answers
510
views
i am using a two dimensional array to plot my graph using jquery flot. how can i use threshold to produce two different colors?
The threshold function works fine on a single dimensional array but when I try to implement it on my two dimensional array that I am taking as input, it does not work.
My array: d4=[{04,300},{10,800},...
2
votes
1
answer
269
views
How to get Threshold limit of memory usage in windows 7, 2008
I need to start logging details of certain heavy applications, the windows event, tasks, services, and hardware information etc once there is a likely possibility for a application crash / hang / ...
2
votes
0
answers
890
views
Multiple Threshold in Highcharts
I'm actually trying to use HighCharts for displaying multiple threshold.
Here is the portion of my code.
Especially here :
var translatedThreshold = series.yAxis.translate(threshold1),
y1 = ...
2
votes
1
answer
2k
views
How to find the "optimal" cut-off point (threshold)
I have a set of weighted features for machine learning. I'd like to reduce the feature set and just use those with a very large or very small weight.
So given below image of sorted weights, I'd only ...
2
votes
0
answers
3k
views
return index less than a threshold value in numpy array?
Is there corresponding method to these function in numpy?
def arg_less(inarray,threshold):
return np.nonzero(inarray<threshold)
def arg_greater(inarray,threshold):
return np.nonzero(...
1
vote
1
answer
38
views
Unable to delete SharePoint list which contains more than 100000 items
I have created a list under SharePoint Online that contains 100000+ items.
Now, I need to delete that list. So, I have tried to delete the list from List Settings.
It has thrown the below error ...
1
vote
0
answers
28
views
Threshold optimization in unlabeled data
I am using a pretrained model that gives me an zero-shot output of three probabilities for three classes(day, night, and aerial photos), I need to find the threshold that maximizes the value of one ...
1
vote
0
answers
274
views
Print the best thresholds of multiple ROC curves in one plot
I am trying to print the best threshold in the pROC package and combine multiple ROC curves in one plot at the same time. I succeeded in doing each separately, but couldn't do both together.
library(...
1
vote
0
answers
166
views
How to plot the number of times values crossed a specified threshold as a function of my threshold value?
I'm a novice with python, but I have timeseries data and I'm looking to plot the number of times my threshold was exceeded as a function of my threshold value. For example, as my threshold value ...
1
vote
0
answers
70
views
Loop in python for different steps size
I do some program which will calculate numbers of values higher than some threshold (Th) but only after it is 3 in line and till the value is less than Th but also 3 in line. In my logic after the ...
1
vote
0
answers
192
views
How to remove the overlapping in threshold_scale of Choropleth Map?
#ChoroplethMap
bins = list(state_avg_value["price"].quantile([0, 0.25, 0.5, 0.75, 1]))
#state_avg_value_max= state_avg_value['price'].max()
m = folium.Map(location=[48, -102], zoom_start=3)...
1
vote
0
answers
649
views
The best threshold in ROC with pROC package
I'm trying to plot the ROC with AUR in R using the package pROC. The plot is good for now (maybe) but I'm trying also to obtain the best threshold value from this plot. I'm getting a negative value ...
1
vote
1
answer
349
views
How to separate 2 distributions knowing histogram?
I have big set of integer numbers (colors) from 0 to 255. I know that some of them should become black, other go to white. I can plot histogram of them and there always will be 2 peaks of black color ...
1
vote
1
answer
427
views
How to choose a suitable decision threshold in the inference of a model?
I am carrying out an speaker recognition project, I have the model already trained and its precision is 90%, but I have a problem when I make inference, the model gives two probabilities, since it was ...
1
vote
0
answers
180
views
1 or 0 based on values in another column? [python]
I am trying to append a column to a data frame that is based on another column in that data frame, where the values directly correspond to the other column. I am having a lot of trouble trying to ...