Transformer#
Transformer#
|
Wrap any transformer with a .fit() and .transform() method for use with Pyreal. |
Feature Select Transformer#
|
A transformer that selects and re-orders features to match the model's inputs |
|
A transformer that drops a set of columns from the data |
Scalers#
|
Scales numeric features within a given range |
|
Standardizes numeric features to mean=0 and variance=1 |
|
Normalizes numeric features using the l1, l2, or max norm |
Imputers#
|
Imputes a data set, handling columns of different types. |
One-Hot Encoders#
|
One-hot encodes categorical feature values |
|
Converts data from categorical form to one-hot-encoded, with feature names based on a mappings object which includes two dictionaries |
|
Converts data from one-hot encoded form to categorical, with feature names based on a mappings object which includes two dictionaries |
|
Generate a new Mappings object using one of the input formats All but one keyword should be None |
Time-Series Formatters#
|
Convert Pyreal time-series format to sktime nested DataFrame. |
|
This Transformer should only be used on univariate series Convert Pyreal time-series format into NumPy ndarray with shape (n_instances, n_timepoints). |
|
Convert Pyreal time-series format into NumPy ndarray with shape (n_instances, n_columns, n_timepoints). |
|
Convert sktime nested DataFrame format into Pyreal time-series format. |
|
Convert sktime nested DataFrame format into NumPy ndarray with shape (n_instances, n_variables, n_timepoints). |
|
This Transformer should only be used on univariate time series data Convert 2D NumPy array to Pyreal time-series format. |
|
Convert 2D NumPy array to sktime nested DataFrame. |
|
Convert 3D NumPy array to Pyreal time-series format. |
|
Convert 3D NumPy array to sktime nested DataFrame. |
|
Convert 2D DataFrame to Pyreal time-series format. |
Type Casters#
|
Wrappers#
|
Allows use of standard sklearn transformers while maintaining DataFrame type. |
Time Series Padders#
|
A transformer that pads and truncates variable-length time series to equal lengths |
Geo Transformers#
|
Converts latitude and longitude columns to neighborhood, city, or state/country names. |
Narrative Transformers#
|
Transforms explanations to narrative (natural-language) form. |
Aggregating Transformers#
|
Aggregate features into a single parent feature class |