common/processing.py
def predict_freq_(self, dataset, Vx, axis_):
		"""
		Compute Mean Square Error in Frequency domain

		:param dataset:dataset: 1D Acceleration  
		:param Vx: 		Eigen Values of trained pca 
		:return mse_:	Single MSE for a period of DWT transform values   
		"""
		fft_amp = fft_transform_(dataset, axis_ = axis_)
		x_recons = self.pca_reconst(data = fft_amp, eigenvector = Vx)
		mse_       = mse(fft_amp, x_recons)
		return mse_

		Compute Mean Square Error in Frequency domain

		:param dataset:dataset: 1D Acceleration  
		:param Vx: 		Eigen Values of trained pca 
		:return mse_:	Single MSE for a period of DWT transform values   
		
Compute Mean Square Error in Frequency domain
Compute Mean Square Error in Frequency domain
def predict_freq_(self, dataset, Vx, axis_):
		fft_amp = fft_transform_(dataset, axis_ = axis_)
		x_recons = self.pca_reconst(data = fft_amp, eigenvector = Vx)
		mse_       = mse(fft_amp, x_recons)
		return mse_
def predict_freq_ ( self , dataset , Vx , axis_ ) : fft_amp = fft_transform_ ( dataset , axis_ = axis_ ) x_recons = self . pca_reconst ( data = fft_amp , eigenvector = Vx ) mse_ = mse ( fft_amp , x_recons ) return mse_
Compute Mean Square Error in Frequency domain
Compute Mean Square Error in Frequency domain
"""
		Compute Mean Square Error in Frequency domain

		:param dataset:dataset: 1D Acceleration  
		:param Vx: 		Eigen Values of trained pca 
		:return mse_:	Single MSE for a period of DWT transform values   
		"""
Single MSE for a period of DWT transform values
Single MSE for a period of DWT transform values
mse_
self
dataset
None
Vx
Eigen Values of trained pca
Eigen Values of trained pca
axis_