Questions tagged [frequency]

The rate at which a thing occurs or is found.

The rate at which a thing occurs or is found.

2858 questions
0
votes
0 answers

Extrapolate word frequency

everyone. For a revision I was asked for a sentimental analysis, I am approaching this methodology for the first time. I have been using NLTK for 2 days now and seriously need help. I was able thanks to the tutorials and thanks to this forum to get…
0
votes
1 answer

The returned frequency is not the one expected

The Counting Sort 1 challenge from HackerRank is as follows: Challenge: Given a list of integers, count and return the number of times each value appears as an array of integers. Function Description: Complete the countingSort function in the…
0
votes
0 answers

Pandas infer_freq() returns None for Weekly data

I have a DataFrame with a DatetimeIndex of values that are spaced 7 days apart, going back to 1971. In [174]: df_test Out[174]: ID VALUE DATE 1971-04-02 MORTGAGE30US 7.33 1971-04-09 MORTGAGE30US…
K-83Rick
  • 123
  • 2
  • 9
0
votes
0 answers

Discrete Wavelet Transform and frequency boundaries

I'm working with time series and i wonder how to find the frequency subbounds corresponding to the different levels created with Discrete wavelet transform? Thanks
Gwénolé
  • 33
  • 4
0
votes
0 answers

How to add frequency count labels to the bars in a bar graph using group by in ggplot2?

/* I need to add the total numbers of each column in my graph. */ base %>% group_by(Produto) %>% count(Produto) %>% ungroup() %>% mutate(Produto = reorder(Produto, n)) ggplot(., aes(x = Produto, y = n, fill = Produto)) + …
Lu w
  • 1
  • 1
0
votes
0 answers

How can I increase the frequency rate of my Python programme in VSCode? Input: GSV2 Measuring amplifier 1000Hz. Realtime

I have written a code in Python that should read a Measuring amplifier value with 1000Hz and save it with the current time in a CSV file. However, only a maximum of around 100Hz is achieved. Although the sensor/Measuring amplifier actually sends…
Tino
  • 1
0
votes
2 answers

What may be the problem for finding frequency of elements in array through class leading to NULL Pointer Exception?

This code finds the frequency of elements in the array. But it is showing cannot read field because array is null. Code import java.util.*; public class Main { public static void main(String[] args) { Scanner lta = new…
0
votes
2 answers

SAS: Count days/year above a threshold, by pollutant, county, and state

The data structure is: State County Date AQI Pollutant Alabama Baldwin 5/2/2017 68 ozone Alabama Baldwin 6/4/2017 102 PM2.5 Alabama Dekalb 6/6/2017 105 PM10 I am trying to count days/year where AQI is >100, by pollutant, county, and…
mennit
  • 3
  • 3
0
votes
1 answer

R Frequency Table - Splitting a Column into 2 different columns

I am trying to create a frequency table using the data from Kaggle - Loan_Data. Below is the code I used and what I ultimately wanted to see using R. I am not sure if it is relevant or not, but I am using the cloud service for R. Create Frequency…
0
votes
0 answers

Is there a possibility of calculating the LF in real time as you are getting the RR intervals from a BLE device?

I may be trying something which may not be possible. I am still trying to figure out how to get proper answers. I use the HRV Analysis Python package and have set up an API layer that calculates the HRV along with all the Time and Frequency domain…
Vivian Lobo
  • 583
  • 10
  • 29
0
votes
0 answers

failed to hear audio on jupyter with librosa but can with scipy - sampling rate issues?

I can hear audio in jupyter if loaded with scipy. However, I can hear untill 192000 sampling rate. If I set to 192001 or above, I cannot hear anything. from IPython.display import Audio from scipy.io.wavfile import read wave_filename =…
user305883
  • 1,635
  • 2
  • 24
  • 48
0
votes
2 answers

Plotting max gain and cutoff frequencies on a bode plot in MATLAB

I want to highlight the differences between a simulated filter and real-life filter through a MATLAB plot. I am trying to show the max gain and the two cutoff frequencies for both filters. Ideally, each point on the bode plot would be shown by a…
palacetrading
  • 71
  • 1
  • 11
0
votes
2 answers

adding the frequency column in R without using dyplr

I have a "wide" dataset where for each observation I measure a value from a bunch of categorical variables. It is presented just like this: V1 V2 V3 a z f a z f b y g b y g a y g b y f this means that V1 has two categories "a"…
Bibi
  • 87
  • 9
0
votes
0 answers

How change the memory frequency in raspberry pi 4

How to change the frequency of memory in raspberry pi 4 in a similar way to how we change the CPU frequency. so scientific articles mention that we can do that from the BIOS but i did not find any way to do that.
sako
  • 29
  • 5
0
votes
1 answer

Frequency Table from All DataFrame Data

Want to generate frequency table from all values in DataFrame. I do not want the values from the index and index can be destroyed. Sample data: col_list = ['ob1','ob2','ob3','ob4', 'ob5'] df = pd.DataFrame(np.random.uniform(73.965,74.03,size=(25,…
Programming_Learner_DK
  • 1,509
  • 4
  • 23
  • 49