Skip to main content

ImageTransformer

View source
Replaces each declared image column of a DataFrame by numeric features.
Parameters
Attributes

ImageTransformer.fit

View source
Fit one scaler and PCA per declared column; y is ignored.
Parameters
Returns

ImageTransformer.fit_transform

View source
Fit every declared column and return the expanded frame.
Parameters
Returns

ImageTransformer.get_feature_names_out

View source
The kept columns’ labels, then the image features’, as an object array.
Parameters
Returns

ImageTransformer.output_indices

View source
Where the input positions indices sit once the image columns moved.
Parameters
Raises ValueError If one of them is a declared image column. Returns

ImageTransformer.transform

View source
Replace the declared columns of X by the features fit at training.
Parameters
Returns

GatedEncoderError

View source
The encoder’s weights are gated on the Hub and this process may not read them.

A PIL image encoded as an image file, the form a DataFrame cell takes.
Parameters
Returns