-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Random doc updates #7476
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
base: main
Are you sure you want to change the base?
Random doc updates #7476
Conversation
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.
Pull Request Overview
This PR refines XML documentation across several text and transformer components, improving grammar, clarity, and example references.
- Standardizes summary and
<param>
XML tags to use action verbs (e.g., “Creates”, “Gets or sets”). - Improves phrasing and adds
<remarks>
and explicit<see>
links for usage examples. - Corrects hyphenation and list punctuation in descriptions.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
src/Microsoft.ML.Transforms.Text/TextFeaturizingEstimator.cs | Refined XML comments: grammar fixes, added <remarks> and <see> links |
src/Microsoft.ML.Transforms/CustomMappingTransformer.cs | Enhanced <param> descriptions for better clarity |
src/Microsoft.ML.Transforms/CategoricalCatalog.cs | Standardized summary XML to use action verbs |
Comments suppressed due to low confidence (1)
src/Microsoft.ML.Transforms.Text/TextFeaturizingEstimator.cs:213
- Since
Norm
is a public field that can be assigned, consider updating the summary to "Gets or sets the norm of the output vector. It will be normalized to one." to accurately reflect its mutability.
Gets the norm of the output vector. It will be normalized to one.
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.
Small nit
/// <summary> | ||
/// Creates a custom mapping of input columns to output columns. | ||
/// </summary> | ||
/// <param name="env">The host environment that provides services and logging capabilities.</param> | ||
/// <param name="mapAction">The action that maps source columns to destination columns.</param> | ||
/// <param name="contractName">The name of the action that will be saved to the model.</param> | ||
/// <param name="inputSchemaDefinition">Additional parameters for schema mapping between <typeparamref name="TSrc"/> and input data.</param> | ||
/// <param name="outputSchemaDefinition">Additional parameters for schema mapping between <typeparamref name="TDst"/> and output data.</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.
nit: indenting off -- also this is internal. Did you mean to change it?
Follow up to dotnet/ml-api-docs#175 and other grammar improvements.
So we can do the best job, please check:
Fixes #nnnn
in your description to cause GitHub to automatically close the issue(s) when your PR is merged.