Skip to content

Custom Preprocessing Steps Revamp #3

@piotrlaczkowski

Description

@piotrlaczkowski

When defining custom preprocessing steps we need to find a way to pass an initialized output of the first layer to the input of the consecutive layer, ex:

preprocessors=[
            PreprocessorLayerFactory.rescaling_layer,
            PreprocessorLayerFactory.normalization_layer,

        ], 

when defining a custom preprocessor for text columns we would need to be careful about how the first layer can impact the input of the second layer -> we do not necessarily take this into account currently (in an automatic way). For example, when the first layer would make everything lowercase but the second layer would be initialized with uppercase vocabulary, this may become a problem. In this case, the second layer would always take the "UNK" token since the first layer will completely modify the input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions