Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfilipi committed Jul 17, 2018
1 parent 6524fd3 commit 6f45e69
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public override ParameterMixingCalibratedPredictor CreatePredictor()
UserName = UserNameValue,
ShortName = ShortName,
XmlInclude = new[] { @"<include file='../Microsoft.ML.StandardLearners/Standard/LogisticRegression/doc.xml' path='doc/members/member[@name=""LBFGS""]/*' />",
@"<include file='../Microsoft.ML.StandardLearners/Standard/LogisticRegression/doc.xml' path='docs/members/example[@name=""LogisticRegressionBinaryClassifier""]/*' />"})]
@"<include file='../Microsoft.ML.StandardLearners/Standard/LogisticRegression/doc.xml' path='doc/members/example[@name=""LogisticRegressionBinaryClassifier""]/*' />"})]

public static CommonOutputs.BinaryClassificationOutput TrainBinary(IHostEnvironment env, Arguments input)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ public partial class LogisticRegression
UserName = MulticlassLogisticRegression.UserNameValue,
ShortName = MulticlassLogisticRegression.ShortName,
XmlInclude = new[] { @"<include file='../Microsoft.ML.StandardLearners/Standard/LogisticRegression/doc.xml' path='doc/members/member[@name=""LBFGS""]/*' />",
@"<include file='../Microsoft.ML.StandardLearners/Standard/LogisticRegression/doc.xml' path='docs/members/example[@name=""LogisticRegressionClassifier""]/*' />" })]
@"<include file='../Microsoft.ML.StandardLearners/Standard/LogisticRegression/doc.xml' path='doc/members/example[@name=""LogisticRegressionClassifier""]/*' />" })]
public static CommonOutputs.MulticlassClassificationOutput TrainMultiClass(IHostEnvironment env, MulticlassLogisticRegression.Arguments input)
{
Contracts.CheckValue(env, nameof(env));
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.ML.Transforms/CategoricalTransform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ public static CommonOutputs.TransformOutput CatTransformHash(IHostEnvironment en
[TlcModule.EntryPoint(Name = "Transforms.TextToKeyConverter",
Desc = TermTransform.Summary,
UserName = TermTransform.UserName,
XmlInclude = new[] { @"<include file='../Microsoft.ML.Transforms/doc.xml' path='doc/members/member[@name=""TextToKey""]/*' />",
@"<include file='../Microsoft.ML.Transforms/doc.xml' path='doc/members/example[@name=""TextToKey""]/*' />" })]
XmlInclude = new[] { @"<include file='../Microsoft.ML.Data/Transforms/doc.xml' path='doc/members/member[@name=""TextToKey""]/*' />",
@"<include file='../Microsoft.ML.Data/Transforms/doc.xml' path='doc/members/example[@name=""TextToKey""]/*' />" })]
public static CommonOutputs.TransformOutput TextToKey(IHostEnvironment env, TermTransform.Arguments input)
{
Contracts.CheckValue(env, nameof(env));
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.ML.Transforms/doc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
</example>
</member>

<member>
<member name="OptionalColumnTransform">
<summary>
If the user wish to create additional columns with a particular type and default values,
or replicated the values from one column to another, changing their type, they can do so using this transform.
Expand Down Expand Up @@ -294,7 +294,7 @@
</example>
</member>

<member>
<member name="Ungroup">
<summary>
Un-groups vector columns into sequences of rows, inverse of Group transform.
</summary>
Expand Down Expand Up @@ -328,7 +328,7 @@
</para>
</remarks>
</member>
<example name="Ungroup">
<example name="Ungroup">
<example>
<code language="csharp">
pipeline.Add(new Segregator(){ Column = new[]{&quot;Column1&quot; }, Mode = UngroupTransformUngroupMode.First} );
Expand Down
Loading

0 comments on commit 6f45e69

Please sign in to comment.