Skip to content

The trainer name types should follow the names used in the contexts #2172

Closed
@sfilipi

Description

@sfilipi

Now that, as part of #1798 the Options of the trainers are part of the API signature, and the name of the trainer type displays as part of it.

The API looks like this:

// Pipeline.
var pipeline = ml.Transforms.Text.FeaturizeText("SentimentText", "Features")
      .AppendCacheCheckpoint(ml)
      .Append(ml.BinaryClassification.Trainers.SymbolicStochasticGradientDescent(
     new SymSgdClassificationTrainer.Options
     {
         NumberOfThreads = 1
     }));

notice the discrepancy between the extension name, and the trainer type.
Align naming where possible. Don't abbreviate the names, at least.

.Append(ml.BinaryClassification.Trainers.SymbolicStochasticGradientDescent(
new SymSgdClassificationTrainer.Options

Metadata

Metadata

Assignees

Labels

APIIssues pertaining the friendly APIusabilitySmoothing user interaction or experience

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions