Questions tagged [threshold]

The starting point for a new state.

threshold
Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

What is the standard threshold value that is best for accuracy when employing Euclidean distance as a metric for gauging textual similarity?

I'm using Euclidean distance as a metric to compare two sentences for similarity while clustering them using my custom incremental KMeans algorithm. The current threshold value I'm using is 0.7 which ...
sanjay M's user avatar
0 votes
0 answers
16 views

Error message in Panel Smooth Transition Regression (PSTR) model

Please I have unbalanced panel data and I want to estimate a threshold regression using PSTR function in R. I get error message whenever I run NewPSTR and EstPSTR functions. If I run the following ...
Patrick's user avatar
0 votes
0 answers
14 views

Setting Touchpad "AAPThreshold" Programmatically without sign off

I want to adjust the "AAPThreshold" value to 0 found in the registry path "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\PrecisionTouchPad" programtically and ...
OW2 Is Trash's user avatar
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 votes
1 answer
46 views

replace elements of array in python

I can't correctly change the elements of arrays with slicing in python please help me!! this is my code: maxVal=np.max(gradIntensity2) thrGradIntensity=gradIntensity2.copy() highThr=maxVal/5 lowThr=...
shahram's user avatar
  • 11
0 votes
1 answer
73 views

Thresholds are passing but their values are zero

I am running a K6 script only for 1 VU on my local. However, "Create" threshold is displayed zero despite it passes. I wrote it in other way like "http_req_duration{name:${}/cases,...
Sinem Kırtaç's user avatar
0 votes
1 answer
49 views

For loop that looks at a certain window in an array

The code is supposed to load in a CSV data file that has 50 rows and 3000 columns, each row is an EEG sleep signal. Each signal should be read separately and the event detection function should ...
MacKenna Bochnak's user avatar
2 votes
2 answers
49 views

Pandas Vectorized Operation - Making counting function that resets when threshold reaches 5

I am quite new to the programming and Im struggling to this matter. Any help is appreciated! I have a dataframe of stocks including the prices and the signal if it will be up (1) or down (-1). I want ...
tyatyaboy21's user avatar
0 votes
0 answers
66 views

find the change points except condition

I have an array [ -670.0790336045966, -670.079352863881, -664.7769001654013, -662.655094599744, -662.6557553135007, -662.6551031804399, -667.966652577584, -670.0779722837389, -670....
Luan Dang's user avatar
0 votes
0 answers
58 views

How to use pagination to overcome SharePoint CSOM threshold error when working with a Folder object

I'm using C# and SharePoint CSOM to retrieve data. I have a folder with more than 5000 files. When I'm trying to get all the files under this folder, I'm getting an exception: Microsoft.SharePoint....
Amir M's user avatar
  • 518
0 votes
0 answers
19 views

aws alarm when metric is same for past

I want to raise an alarm in AWS whenever 24 hours have passed without the value of the metric changing (all datapoints pushed the same number for the last 24 hours). How could I achieve that? Was ...
M.Ionut's user avatar
  • 187
0 votes
0 answers
249 views

Grafana: Configure from query: Threshold: All Values - seems not to work

I found some really helpful advice in How to plot horizontal line in Timeseries in Grafana and now I would like to apply this to my Timeseries Chart with multiple thresholds. My data source provides ...
LilumDaru's user avatar
5 votes
4 answers
67 views

R- Find date when cumulative sum is above threshold

I am working with thermal requirements for crop growth. I have a table which contains cumulative temperature for a 6-month time period. Sample seen below: date temp cum_temp 1: 2020-...
thiagoveloso's user avatar
  • 2,601
0 votes
0 answers
6 views

Combine output of two models to create a risk heatmap

I have two models (predicting risk of large loss) model a and model b. I need to come up with a risk heatmap where I say model 1 score > x and model 2 score > y then high risk else low risk. How ...
Mnag's user avatar
  • 116
0 votes
0 answers
139 views

Calculation of dynamic threshold for anomaly detection

I am a beginner in python and data analyst field. I have timeseries data for example as given below, I have multiple sets of data. Want to find anomalies on the timeseries data we have, for that I am ...
mayank's user avatar
  • 1
0 votes
0 answers
43 views

define cut off frequency in ideal high pass filtering

I specified the cut-off frequency in pixels to apply a high pass filter. "Pixels" is not a unit of frequency for sure, but a spatial position in the frequency domain representation of the ...
lmn's user avatar
  • 11
0 votes
0 answers
42 views

JavaScript Functions Running Randomly

I have a button, and a counter. The counter is assigned count. When you click the button counterPlusElem, the count increases. You can buy upgrades that take away some of your count, but make it so on ...
Jimmy's user avatar
  • 15
0 votes
0 answers
52 views

How to choose the best threshold when removing multicollinear features with hierarchical clustering on Spearman rank correlation?

I am reading currently this documentation https://scikit-learn.org/stable/auto_examples/inspection/plot_permutation_importance_multicollinear.html#handling-multicollinear-features in order to handle ...
John B's user avatar
  • 23
0 votes
0 answers
57 views

Sauvola local image thresholding

How to apply Sauvola local image thresholding by MATLAB? I downloded the File Exchange contribution: https://www.mathworks.com/matlabcentral/fileexchange/40266-sauvola-local-image-thresholding?tab=...
yasmin's user avatar
  • 11
0 votes
0 answers
143 views

Threshold value for Google monitoring alert policy

I have created Google Monitoring alert policy for Google monitoring SLO( 95% to total https requests for 7 days should have less than 5s latency and should receive alert when burn_rate consumes 2% of ...
user22189526's user avatar
0 votes
0 answers
43 views

MariaDB bad index choosen after threshold

I'm working with MariaDB -> 10.11.4-MariaDB-1:10.11.4+maria~ubu2204 I have a table with : 7,984,176 rows 2 columns : lab_id (ID of a laboratory) date_prelevement : date of the event from 1 year ...
debilus's user avatar
0 votes
0 answers
249 views

Pruning trials in Optuna using both threshold and PatientMedianPruner

I am using MedianPruner (with patience) in Optuna. Sometimes a trial begins to diverge, and I want to stop it before it continues. I would use ThresholdPruner, but I can't as I am already using ...
Muhammed Yunus's user avatar
0 votes
1 answer
457 views

How to get all files and folders with metatdata from sharepoint folder whose threshold is crossed using rest api?

I am fetching data from a folder inside sharepoint library.It has 7K files and folders. I m using velow query. "/_api/Web/GetFolderByServerRelativePath(decodedurl='" + ListName + "')?$...
BhawnaSingh's user avatar
0 votes
0 answers
19 views

Removing columns from Dataframe by frequency of missing values & whether percentage of unique values is above / lower than a specified threshold

Write python function with input_df,threshold and unique threshold as arguments. train_df = input_df.copy() num_unique = [] for item in train_df[column]: if item not in num_unique and not pd....
Noumenax's user avatar
0 votes
0 answers
17 views

Thresholding Neural Network outputs

So I currently have this graph dataset, which have two classes, and I intend to do a binary classificaiton problem. The following is the data’s information from torch_geometric.datasets import ...
Hai Nguyen's user avatar
1 vote
1 answer
36 views

Configuring log4j such that any logger statements emmitted at level 'ERROR' are routed to a separate file

To demonstrate my problem, imagine we have a simple app with a top level package com.foo, and subpackages for ui (com.foo.ui) and server (com.foo.server). I have not been able to cook up a log4j ...
Chris Bedford's user avatar
0 votes
0 answers
163 views

Is there a way to intersect 2d polygons with a point cloud and filtering them out using a threshold(number of points intersecting with a polygon)?

I'm trying to intersect some building footprints in a shapefile with a point cloud. My goal is to filter out the polygons(i.e. the footprints) that intersect with a certain number of points (a ...
aogino's user avatar
  • 1
0 votes
0 answers
18 views

MATLAB - trying to run a loop to estimate a threshold for S-shaped curves

I fitted a sigmoid shaped curve to individual datasets (n = 53). The S-shaped curve has 101 datapoints. I've attached an example picture for one subject (and 2 conditions) example. I'm trying to ...
Phil Moir's user avatar
0 votes
1 answer
59 views

How define a best threshold based on confidence level?

I have a Data Frame, it has a threshold that check based on confidence1 if "Is the same person" or not. When the confidence is lower the person is different and the opposite when is greater. ...
Alexssandro Damião's user avatar
1 vote
3 answers
1k views

How to compute sensitivity, specificity from a fitted logistic glm?

I have fitted a logistic glm. Now I want to calculate sensitivity, specificity i.e., true positive rate, false positive rate. I can easily calculate AUC using the R package pROC. Since, logistic model ...
user avatar
2 votes
3 answers
494 views

Vega-Lite gradient for line chart

I would like to colour a line above a certain threshold in one colour and below the threshold another colour (see image below). How would I go about doing this? I've tried using gradients and the ...
pac w's user avatar
  • 657
0 votes
2 answers
313 views

How to make barplot with a threshold in matplotlib?

I want to use the code provided below for a barplot, but with added threshold, where the data on or below the threshold have a color different to the data points above the threshold. Please check out ...
user6688's user avatar
0 votes
0 answers
212 views

How to set GCP Alert threshold based on time?

I have a Google Dataflow Pipeline that logs JSON similar to the following. jsonPayload: { metric: "viewings-per-second", time: "2023-03-28 17:16:14", value: 15 } I ...
Shahid Thaika's user avatar
1 vote
1 answer
46 views

Binary sentiment classifer threshold

I have this code where I am trying to set a threshold that filters out neutral sentiment tweets from the test set and only classifies positive and negative tweets. However, it is classifying only as ...
Ella's user avatar
  • 33
0 votes
1 answer
208 views

How to stop parallax scrolling when at the top of viewport

I have a mountain parallax scene with four images within a container that parallax scroll when the container is visible within the viewport at the bottom of the screen. The animation works but the ...
Breon's user avatar
  • 95
0 votes
1 answer
70 views

Wrong(?) Thresholds in dataframe using R and PROC

I'm trying to calculate new cutoff values for a project, but it seems like a) I do not understand the threshholds at all or b) I'm doing something wrong while calculating The Data I use data_sub$...
Zachai's user avatar
  • 11
1 vote
1 answer
210 views

How to clean (delete) a black frame/boundaries/countour at the edges of the image after adaptive thresholding

I applied adaptive gaussian thresholding to my .tif image, but the black frame (contour) on the edges was created. Can't understand why and how to delete. I would be very grateful for your help! p.s. ...
Carrie's user avatar
  • 13
1 vote
1 answer
206 views

How to fix the colors of the image to get a better thresholding result?

I'm trying to threshold the hand in the following image original image using the following code: img = cv2.GaussianBlur(crop_img,(25,25),0) img_YCrCb = cv2.cvtColor(img, cv2.COLOR_BGR2YCrCb) ...
SpiritedAwayCat'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
2 votes
1 answer
3k views

Fill between two horizontal lines thresholds in matplotlib

Dears, I need to make a fill between two thresholds in my chart I have tried with my code but it does not display, could you please tell me what I am doing wrong? I would like my figure like contour ...
Juan Carlos's user avatar
1 vote
1 answer
74 views

Identifying uniroot for multiple independent variables in R

I am trying to calculate the value of x where y = 0. I could able to do it for single x using the following code lm.model <- lm(y ~ x) cc <- coef(lm.model) f <- function(x) cc[2]*x + cc[1] ...
UseR10085's user avatar
  • 7,698
0 votes
0 answers
81 views

Finding Threshold to Binarize a Correlation Matrix

I've created a correlation matrix using Matplotlib, and would like to set a threshold, so that I can make all the values above the threshold 1, and everything below it 0. My aim is to create an ...
PoojaP's user avatar
  • 1
0 votes
1 answer
191 views

Winsorize to 1th and 99th (or 25th to 75th) percentile in a dataset in R

I want to limit each of the AI_ columns to those that are above a certain threshold (in this case 0.0), and then return the standard deviation of those that fall within the 1st and 99th (or 25th to ...
Data miner123's user avatar
0 votes
1 answer
87 views

Make a threshold model based on the interquartile range in R

I want to create the standard deviation of the interquartile range when the rows exceeds a certain threshold. For example, I got 7 columns named AI_1, ..., AI_7. In total this dataset has 60480 ...
Data miner123's user avatar
0 votes
1 answer
114 views

azure automl how to find best threshold in precision recall curve?

I use automl for a classification problem. I obtained the following precision recall curve: Is it possible to find the best threshold that maximizes the f-score from this curve? and how?
tammuz's user avatar
  • 407
0 votes
1 answer
173 views

Find the variance based on a threshold in R

This datasets contains 42 IDs with 1440 observations per ID. This means that the dataset got 60480 observations in total. The values of the columns AI_1..., to AI_7 got values that range from 0.00 to ...
Data miner123's user avatar
0 votes
1 answer
19 views

ThresholdImageOps.threshold() doesn't work(Android)

After the import of boofcv-android and boofcv-core libraries I'm trying to use the ThresholdImageOps.threshold(...) function but it doesn't seem to work. Also, tried GThresholdImageOps.threshold(...), ...
Sher Mi's user avatar
  • 638
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
2 answers
403 views

Create a binary variable based on a threshold in R

The following dataset contains 7 columns (i.e., AI_1 until AI_7) that have 1440 observations per ID (in total 42 IDs). I want to create a dataset that makes a binary variable of each AI based on a ...
Data miner123's user avatar
0 votes
1 answer
13 views

Postgresql function should return within threshhold

I would like a function which returns 0 if the result of the calculation in the function is 0 (or NULL). If the result is larger than 0 and below 0.1 then function should return 0.1 - otherwise the ...
pmelch's user avatar
  • 111

1
2 3 4 5
15