Skip to content

Rename types inside MLContext as Catalogs #1796

Closed
@TomFinley

Description

@TomFinley

We had an idea in #949 to have "context" objects that enabled the easy and convenient creation of training algorithms. We eventually came to like this idea so much that it expanded considerably, until we came to think it actually a good idea that most components (whether trainers or not) could work through this object, to the point where eventually in in #1098, there was a "master" context, of which the formerly independent contexts became properties of that master context.

The newer things that were added were then called "catalogs," for example:

public TransformsCatalog Transforms { get; }

public ModelOperationsCatalog Model { get; }

However the old objects retained the type names they had back when they were independent.

public BinaryClassificationContext BinaryClassification { get; }

We ought to probably standardize the name of these things as being "catalogs." E.g., things in here with the type name suffix Context should change that to Catalog, things that are catalogs but aren't named that yet (DataOperations) should be standardized as well.

Metadata

Metadata

Assignees

Labels

APIIssues pertaining the friendly APIgood first issueGood for newcomersup-for-grabsA good issue to fix if you are trying to contribute to the project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions