You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comments added to LearningPipeline class to make Intellisense more helpful. (dotnet#50)
* Comments added to LearningPipeline class in accordance with #Bug 240636: Intellisense is not helpful with filling in pipeline components.
* Comments added to LearningPipeline class in accordance with #Bug 240636: Intellisense is not helpful with filling in pipeline components.
* Fixed a typo in namespace
* Addressed reviewers' comments.
* Addressed reviewers' comments.
* Addressed reviewers' comments.
Copy file name to clipboardExpand all lines: src/Microsoft.ML/LearningPipeline.cs
+88Lines changed: 88 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,25 +26,113 @@ public ScorerPipelineStep(Var<IDataView> data, Var<ITransformModel> model)
26
26
publicVar<ITransformModel>Model{get;}
27
27
}
28
28
29
+
30
+
/// <summary>
31
+
/// The <see cref="LearningPipeline"/> class is used to define the steps needed to perform a desired machine learning task.<para/>
32
+
/// The steps are defined by adding a data loader (e.g. <see cref="TextLoader"/>) followed by zero or more transforms (e.g. <see cref="Microsoft.ML.Transforms.TextFeaturizer"/>)
33
+
/// and at most one trainer/learner (e.g. <see cref="Microsoft.ML.Trainers.FastTreeBinaryClassifier"/>) in the pipeline.
/// Train the model using the ML components in the pipeline.
127
+
/// </summary>
128
+
/// <typeparam name="TInput">Type of data instances the model will be trained on. It's a custom type defined by the user according to the structure of data.
129
+
/// <para/>
130
+
/// Please see https://www.microsoft.com/net/learn/apps/machine-learning-and-ai/ml-dotnet/get-started/windows for more details on input type.
131
+
/// </typeparam>
132
+
/// <typeparam name="TOutput">Ouput type. The prediction will be return based on this type.
133
+
/// Please see https://www.microsoft.com/net/learn/apps/machine-learning-and-ai/ml-dotnet/get-started/windows for more details on output type.
134
+
/// </typeparam>
135
+
/// <returns>PredictionModel object. This is the model object used for prediction on new instances. </returns>
0 commit comments