This is where we define the main transformer pipeline classes.

Linear Transformation Pipe

class TransformationPipe[source]

TransformationPipe(steps:list)

Transformation pipeline performs a series of transformation processes based on the user's defined functions.

This is the basic sequenctial pipeline.

Input: steps (list): contains a list of names and functions and an optional third argument for each step is an dictionary of parameters to be passed to that function.

e.g. If the user has defined the following functions - temporalCrop, spatialCrop - then this is how to assemlbe a Transformation pipeline for these:

transPipe = TransformationPipe(
        steps=[
            ('time horizon selection', temporalCrop, {"timeLength": 18}),
            ('region selection', spatialCrop, {"boundingBox": [120, -15, 160, 15]}),
            ])