
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 | |
Specifically for processing data and getting it ready
for anomaly detection.
Definition at line 21 of file data_process.py.
| def learn_lib.data_process.DataProcess.__init__ | ( | self, | |
| comps | |||
| ) |
Definition at line 27 of file data_process.py.
| 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.
|
private |
Definition at line 32 of file data_process.py.
|
private |
Definition at line 29 of file data_process.py.
|
private |
Definition at line 28 of file data_process.py.