lale.lib.lale.time_series_transformer module¶
-
class
lale.lib.lale.time_series_transformer.CorrelationMatrix[source]¶ Bases:
objectCalculate correlation coefficients matrix across all EEG channels.
-
class
lale.lib.lale.time_series_transformer.Eigenvalues[source]¶ Bases:
objectTake eigenvalues of a matrix, and sort them by magnitude in order to make them useful as features (as they have no inherent order).
-
class
lale.lib.lale.time_series_transformer.FFT[source]¶ Bases:
objectApply Fast Fourier Transform to the last axis.
-
class
lale.lib.lale.time_series_transformer.FFTWithTimeFreqCorrelation(start, end, max_hz, scale_option)[source]¶ Bases:
objectCombines FFT with time and frequency correlation, taking both correlation coefficients and eigenvalues.
-
class
lale.lib.lale.time_series_transformer.FreqCorrelation(start, end, scale_option, with_fft=False, with_corr=True, with_eigen=True)[source]¶ Bases:
objectCorrelation in the frequency domain. First take FFT with (start, end) slice options, then calculate correlation co-efficients on the FFT output, followed by calculating eigenvalues on the correlation co-efficients matrix. The output features are (fft, upper_right_diagonal(correlation_coefficients), eigenvalues) Features can be selected/omitted using the constructor arguments.
-
class
lale.lib.lale.time_series_transformer.Magnitude[source]¶ Bases:
objectJob: Take magnitudes of Complex data
-
class
lale.lib.lale.time_series_transformer.Pipeline(pipeline)[source]¶ Bases:
objectA Pipeline is an object representing the data transformations to make on the input data, finally outputting extracted features. pipeline: List of transforms to apply one by one to the input data
-
class
lale.lib.lale.time_series_transformer.Resample(sample_rate)[source]¶ Bases:
objectResample time-series data.
-
class
lale.lib.lale.time_series_transformer.Slice(start, stop)[source]¶ Bases:
objectJob: Take a slice of the data on the last axis. Note: Slice(x, y) works like a normal python slice, that is x to (y-1) will be taken.
-
class
lale.lib.lale.time_series_transformer.StandardizeFirst[source]¶ Bases:
objectScale across the first axis.
-
class
lale.lib.lale.time_series_transformer.StandardizeLast[source]¶ Bases:
objectScale across the last axis.
-
class
lale.lib.lale.time_series_transformer.TimeCorrelation(max_hz, scale_option, with_corr=True, with_eigen=True)[source]¶ Bases:
objectCorrelation in the time domain. First downsample the data, then calculate correlation co-efficients followed by calculating eigenvalues on the correlation co-efficients matrix. The output features are (upper_right_diagonal(correlation_coefficients), eigenvalues) Features can be selected/omitted using the constructor arguments.
-
class
lale.lib.lale.time_series_transformer.TimeFreqEigenVectorsImpl(window_length=1, window_step=0.5, fft_min_freq=1, fft_max_freq=24, sampling_frequency=250)[source]¶ Bases:
object