Skip to content

Mass rename of transformers and MLContext extensions for them #1318

Closed
@Zruty0

Description

@Zruty0

Let's go over all the existing transforms and make sure that they share the same naming conventions:

  • Estimators

    • Should be named ActionPerformingEstimator, or AlgorithmNameTrainer
    • Should be placed in Microsoft.ML.Trainers, Transforms or sub-namespaces if applicable
    • If they take input or output colunms, they should be 'inputColumn' and 'outputColumn', and the outputColumn should be nullable.
  • Trainers

    • If they take features/label columns, they should be in the same order (label, features, weights, other), and have defaults.
    • Important parameters should be listed as ctor arguments.
    • Other parameters should be a delegate over advanced settings
      • Generally, trainers should have exactly one constructor. Overload only if necessary.
  • Transformers

    • Should be named ActionPerformingTransformer
    • Should be placed in Microsoft.Ml.Transforms or sub-namespaces
    • If they are trainable, they should NOT have a public constructor.
    • If they are NOT trainable, they SHOULD have a public constructor.

Metadata

Metadata

Assignees

Labels

APIIssues pertaining the friendly APIusabilitySmoothing user interaction or experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions