learning_machine.engine#
Config#
|
Create engines from engine config list. |
DataEngine#
Data engine interface. |
|
|
Apply engines sequentially. |
Pandas utils#
|
Concat the outputs of the engines into pd.Dataframe |
|
Drop columns from dataframe |
|
Drop rows contain missing value in specific columns. |
|
Fill nan rows with specific value. |
|
Fill nan value from another column. |
Numerical operators#
|
Binary operate with two columns. |
|
Add two columns. |
|
Subtract two columns. |
|
Multiply two columns. |
|
Divide two columns. |
Datetime#
|
String to pd.datetime object. |
|
Periodically transforms the day of year. |
|
Periodically transform the month of year. |
|
Periodically transform the day of month. |
|
Periodically transforms the day of week. |
|
Get day of year from datetime column. |
|
Get month of year from datetime column. |
|
Get day of month from datetime column. |
|
Get day of week from datetime column. |
|
Get datetime is weekend. |
Encoder#
|
Onehot encoder from scikit-learn. |
|
Label encoder from scikit-learn. |
Scaler#
|
Standard scaler from scikit-learn. |
|
RobustScaler from scikit-learn. |
|
MinMaxScaler from scikit-learn. |