Skip to content

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

Closed
@zeahmed

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.)

Metadata

Metadata

Assignees

Labels

APIIssues pertaining the friendly API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions