evalml.pipelines.components.DateTimeFeaturization

Inheritance diagram of DateTimeFeaturization
class evalml.pipelines.components.DateTimeFeaturization(features_to_extract=None, random_state=0, **kwargs)[source]

Transformer that can automatically featurize DateTime columns.

name = 'DateTime Featurization Component'
model_family = 'none'
hyperparameter_ranges = {}
default_parameters = {'features_to_extract': ['year', 'month', 'day_of_week', 'hour']}

Instance attributes

parameters

Returns the parameters which were used to initialize the component

Methods:

__init__

Extracts features from DateTime columns

clone

Constructs a new component with the same parameters

describe

Describe a component and its parameters

fit

Fits component to data

fit_transform

Fits on X and transforms X

transform

Transforms data X by creating new features using existing DateTime columns, and then dropping those DateTime columns