Public Member Functions | Private Attributes | List of all members
learn_lib.data_process.DataProcess Class Reference
Inheritance diagram for learn_lib.data_process.DataProcess:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, comps)
 
def get_reduction_size (self)
 
def reduction_fit (self, data)
 
def reduction_transform (self, data)
 
def scaler_fit (self, data)
 
def scaler_transform (self, data)
 
def split (self, in_file, x_cols, y_cols)
 

Private Attributes

 __reduction
 
 __reduction_size
 
 __scale
 

Detailed Description

        Specifically for processing data and getting it ready
                for anomaly detection.

Definition at line 21 of file data_process.py.

Constructor & Destructor Documentation

def learn_lib.data_process.DataProcess.__init__ (   self,
  comps 
)

Definition at line 27 of file data_process.py.

Member Function Documentation

def learn_lib.data_process.DataProcess.get_reduction_size (   self)
Return number of components passed to PCA

Definition at line 101 of file data_process.py.

def learn_lib.data_process.DataProcess.reduction_fit (   self,
  data 
)
Fit PCA decomposition. 

Definition at line 76 of file data_process.py.

def learn_lib.data_process.DataProcess.reduction_transform (   self,
  data 
)
Reduce dimensionality of given data. 

Definition at line 92 of file data_process.py.

def learn_lib.data_process.DataProcess.scaler_fit (   self,
  data 
)
Fit scaling object 

Definition at line 54 of file data_process.py.

def learn_lib.data_process.DataProcess.scaler_transform (   self,
  data 
)
Data supplied is scaled and returned. 

Definition at line 70 of file data_process.py.

def learn_lib.data_process.DataProcess.split (   self,
  in_file,
  x_cols,
  y_cols 
)
Read csv, to dataframe, split to x and y. 

Definition at line 37 of file data_process.py.

Member Data Documentation

learn_lib.data_process.DataProcess.__reduction
private

Definition at line 32 of file data_process.py.

learn_lib.data_process.DataProcess.__reduction_size
private

Definition at line 29 of file data_process.py.

learn_lib.data_process.DataProcess.__scale
private

Definition at line 28 of file data_process.py.


The documentation for this class was generated from the following file:


mh5_anomaly_detector
Author(s): Vedanth Narayanan
autogenerated on Mon Jun 10 2019 13:49:20