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
@@ -571,11 +571,11 @@ public override IEstimator<ITransformer> Reconcile(IHostEnvironment env,
571
571
/// Produces a bag of counts of ngrams (sequences of consecutive words of length 1-n) in a given tokenized text.
572
572
/// It does so by hashing each ngram and using the hash value as the index in the bag.
573
573
///
574
-
/// <see cref="ToNgramsHash"/> is different from <see cref="WordHashBagEstimatorStaticExtensions.ToBagofHashedWords"/>
575
-
/// in a way that <see cref="ToNgramsHash"/> takes tokenized text as input while <see cref="WordHashBagEstimatorStaticExtensions.ToBagofHashedWords"/> tokenizes text internally.
574
+
/// <see cref="ApplyNgramHashing"/> is different from <see cref="WordHashBagEstimatorStaticExtensions.ToBagofHashedWords"/>
575
+
/// in a way that <see cref="ApplyNgramHashing"/> takes tokenized text as input while <see cref="WordHashBagEstimatorStaticExtensions.ToBagofHashedWords"/> tokenizes text internally.
576
576
/// </summary>
577
577
/// <param name="input">The column to apply to.</param>
578
-
/// <param name="hashBits">Number of bits to hash into. Must be between 1 and 30, inclusive.</param>
578
+
/// <param name="numberOfBits">Number of bits to hash into. Must be between 1 and 30, inclusive.</param>
/// <param name="skipLength">Maximum number of tokens to skip when constructing an ngram.</param>
581
581
/// <param name="allLengths">Whether to include all ngram lengths up to <paramref name="ngramLength"/> or only <paramref name="ngramLength"/>.</param>
@@ -585,13 +585,13 @@ public override IEstimator<ITransformer> Reconcile(IHostEnvironment env,
585
585
/// Text representation of original values are stored in the slot names of the metadata for the new column.Hashing, as such, can map many initial values to one.
586
586
/// <paramref name="invertHash"/> specifies the upper bound of the number of distinct input values mapping to a hash that should be retained.
587
587
/// <value>0</value> does not retain any input values. <value>-1</value> retains all input values mapping to each hash.</param>
Copy file name to clipboardExpand all lines: src/Microsoft.ML.Transforms/Text/TextCatalog.cs
+2-2
Original file line number
Diff line number
Diff line change
@@ -495,7 +495,7 @@ public static WordHashBagEstimator ProduceHashedWordBags(this TransformsCatalog.
495
495
/// Text representation of original values are stored in the slot names of the metadata for the new column.Hashing, as such, can map many initial values to one.
496
496
/// <paramref name="invertHash"/> specifies the upper bound of the number of distinct input values mapping to a hash that should be retained.
497
497
/// <value>0</value> does not retain any input values. <value>-1</value> retains all input values mapping to each hash.</param>
0 commit comments