-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Rename types inside MLContext as Catalogs #2169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/// </summary> | ||
/// <param name="ctx">The clustering context trainer object.</param> | ||
/// <param name="catalog">The clustering catalog trainer object.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
catalog [](start = 25, length = 7)
Great, thanks for fixing these as well, I'd kind of forgotten that we'd want to change the parameter names and descriptors here... and there sure are a lot of them. ;)
@@ -38,7 +38,7 @@ public void SdcaRegression() | |||
var dataPath = GetDataPath(TestDatasets.generatedRegressionDataset.trainFilename); | |||
var dataSource = new MultiFileSource(dataPath); | |||
|
|||
var ctx = new RegressionContext(env); | |||
var catalog = new RegressionCatalog(env); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new RegressionCatalog(env); [](start = 26, length = 27)
Hmmmm interesting. This guy is a bit of an odd duck, I guess it was done before we "unified" the contexts under MLContext
. We'll probably want to bring these more up to date at some point lest they mislead people. (Not part of this PR, to be clear.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool thanks @najeeb-kazmi for changing the names, and all the references in those, probably, hundred plus places in the documentation and parameter names. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
advanced settings was removed from the API for Is there a simple way of specifying "unbalancedSets" as before? |
Fixes #1796
Renames
XyzContext
types insideMLContext
toXyzCatalog
.Renames
DataOperations
toDataOperationsCatalog
.