Polynomial feature transformation creates new features by raising existing features to a power or creating interaction terms.
Args:
degree (int): The degree of the polynomial features (default is 2).
Attributes:
n_samples (int): The number of samples in the input data.
n_features (int): The number of features in the input data.
n_output_features (int): The number of output features after transformation.
combinations (list of tuples): The combinations of features for polynomial terms.