I have a real signal with only nonnegative values (actigraph measurements). Many papers say they use "frequency domain features" for classification, such as mean, variance etc. But I'm confused as how to actually interpret "frequency domain" here.
I have seen two different approaches:
Calculate FFT, calculate magnitude at each frequency bin (i.e. $\sqrt{re^2 + im^2}$), then extract features from this array of values, e.g. mean, variance
Cut time domain into time bins (e.g. every minute, or every hour), for each calculate total power, i.e. calculate power spectral density and sum the elements. Extract features from array of total powers for all time bins, e.g. mean, variance
Which approach is more correctly "frequency domain features" extraction? Or am I completely confused and I should do this in entirely different way?