Skip to content

Create convenience constructor for the Transforms (workitem related to #371) #380

Description

@zeahmed

This work item is related to the new API proposal #371

Following is the initial list of transforms that will be implemented to gather feedback.

  • BootstrapSampleTransform
  • CategoricalHashTransform
  • CategoricalTransform
  • ConcatTransform
  • CopyColumnsTransform
  • CountFeatureSelection
  • DropColumnsTransform
  • LpNormNormalizerTransform
  • NAFilter
  • NormalizeTransform

There are different ways to create a public facing API for these transforms based on their class definition.

Add Convenience constructor directly to the transform class.

It is only possible for following type of transforms.

  • BootstrapSampleTransform
  • ConcatTransform
  • NAFilter

Add Create method (a helper method) for transforms that have Create method already implemented.

This is possible for following transforms.

  • CategoricalHashTransform
  • CategoricalTransform
  • CopyColumnsTransform
  • CountFeatureSelection

Add CreateX method (a helper method) for all possible use case of a transform where X is the name of the operation.

This is because one transform can instantiated for multiple purpose based on the argument e.g.

  • DropColumnTransform (can be instantiated for dropping or keeping columns)
  • LpNormNormalizerTransform (can be instantiated for LpNorm or GCNorm)
  • NormalizerTransform (can be instantiated for MinMax, Mean-Var, LogMean etc.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions