Questions tagged [threshold]

The starting point for a new state.

threshold
249 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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] -...
Jay Cui's user avatar
  • 137
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 ...
Arwego's user avatar
  • 155
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 ...
Serg Shapoval's user avatar
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 ...
quantumflash's user avatar
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'...
chris's user avatar
  • 155
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",...
J. Doe's user avatar
  • 619
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 ...
Halgurd Taher's user avatar
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 ...
justHelloWorld's user avatar
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 ...
Guilherme Caminha's user avatar
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 ...
Ninja Chris's user avatar
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 ...
krson's user avatar
  • 41
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)...
Ori Linial's user avatar
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,...
Lucas's user avatar
  • 63
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 ...
Marcelo Cuadrado's user avatar
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 ...
user3746901's user avatar
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 ...
Federico Catalano's user avatar
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, ...
ndr's user avatar
  • 21
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 ...
Kyokko's user avatar
  • 33
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 ...
LB.'s user avatar
  • 43
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 ...
user2310909's user avatar
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 ...
speedydumbarton's user avatar
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 ...
Ahmad Taquee's user avatar
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 ...
DocDriven's user avatar
  • 3,844
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 (...
amir.fathi's user avatar
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. ...
Heike's user avatar
  • 107
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.
user8773963's user avatar
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 ...
Nathan Donaldson's user avatar
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:...
Xeno1987's user avatar
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 ...
Klem's user avatar
  • 21
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 ...
Anjenson's user avatar
  • 117
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 ...
Lepidopterist's user avatar
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 ...
Sidda Reddy K.'s user avatar
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 ...
user974's user avatar
  • 41
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 ...
user1142671's user avatar
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 ...
user1936139's user avatar
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},...
Pratyush Kumar Mishra's user avatar
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 / ...
Vans's user avatar
  • 21
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 = ...
Thordax's user avatar
  • 1,713
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 ...
K3---rnc's user avatar
  • 6,906
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(...
wiswit's user avatar
  • 5,785
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 ...
Bhoomesh Joshi's user avatar
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 ...
Alberto Olivieri's user avatar
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(...
Abdulrazzaq Alheraky's user avatar
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 ...
liveFreeOrπHard's user avatar
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 ...
Vasyl Sokolenko's user avatar
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)...
user14479872's user avatar
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 ...
Nemo13's user avatar
  • 11
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 ...
Demetry Pascal's user avatar
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 ...
lmarenast's user avatar
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 ...
LostinSpatialAnalysis's user avatar

1
2 3 4 5