The git repository containing DSBox cleaning related primitives is here. The git repository for DSBox primitives related to featurization is located here.
This is a multi-purpose cleaning featurizer primitive. This primitive requires metadata annotations from ISI's profiling primitive, see d3m.primitives.dsbox.Profiler
below. The cleaning featurization operations supported include:
Fold multiple columns into one column based on common column name prefix. For example, fold columns with names 'month-jan', 'month-feb', 'month-mar' and so on, into one column named 'month'.
Performs one-hot encoding for categorical attributes. This encoder can handle missing values, and it allows user to specify the upper limit of columns to generate per cagtegorical attribute, n_limit
.
Performs unary encoding, which useful for ordinal data.
Performs mean missing value imputation for numerical columns, and mode imputation for categorical columns.
Performs missing value imputation by greedy search over simple imputation methods, i.e. mean, min, max, and zero.
Performs missing value imputation by regression, then improve the imputation by iterating over columns with missing values.
This primitive generates metadata by examining the given data. The types of metadata include:
Queries datamart for available datasets. The JSON query specification is defined Datamart Query API. The primitive returns a list of dataset metadata.
Joins two dataframes into one dataframe. The primtive takes two dataframes, left_dataframe and right_dataframe, and two lists specifing the join columns, left_columns and right_columns.