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
/// <param name="columns">Specifies the names of the columns on which to apply the transformation.</param>
202
+
/// <param name="maximumNumberOfKeys">Maximum number of keys to keep per column when auto-training.</param>
203
+
/// <param name="keyOrdinality">How items should be ordered when vectorized. If <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByOccurrence"/> choosen they will be in the order encountered.
204
+
/// If <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByValue"/>, items are sorted according to their default comparison, for example, text sorting will be case sensitive (for example, 'A' then 'Z' then 'a').</param>
205
+
/// <param name="addKeyValueAnnotationsAsText">Whether key value annotations should be text, regardless of the actual input type.</param>
206
+
/// <param name="keyData">The data view containing the terms. If specified, this should be a single column data
207
+
/// view, and the key-values will be taken from that column. If unspecified, the key-values will be determined
Copy file name to clipboardExpand all lines: src/Microsoft.ML.Data/Transforms/ExtensionsCatalog.cs
+26
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,32 @@
8
8
9
9
namespaceMicrosoft.ML
10
10
{
11
+
/// <summary>
12
+
/// Specifies input and output column names for a transformation.
13
+
/// </summary>
14
+
publicsealedclassInputOutputColumnPair
15
+
{
16
+
/// <summary>
17
+
/// Name of the column to transform. If set to <see langword="null"/>, the value of the <see cref="OutputColumnName"/> will be used as source.
18
+
/// </summary>
19
+
publicreadonlystringInputColumnName;
20
+
/// <summary>
21
+
/// Name of the column resulting from the transformation of <see cref="InputColumnName"/>.
22
+
/// </summary>
23
+
publicreadonlystringOutputColumnName;
24
+
25
+
/// <summary>
26
+
/// Specifies input and output column names for a transformation.
27
+
/// </summary>
28
+
/// <param name="outputColumnName">Name of the column resulting from the transformation of <paramref name="inputColumnName"/>.</param>
29
+
/// <param name="inputColumnName">Name of the column to transform. If set to <see langword="null"/>, the value of the <paramref name="outputColumnName"/> will be used as source.</param>
/// <param name="columns">Specifies the names of the columns on which to apply the transformation.</param>
49
+
/// <param name="outputKind">Output kind: Bag (multi-set vector), Ind (indicator vector), Key (index), or Binary encoded indicator vector.</param>
50
+
/// <param name="maximumNumberOfKeys">Maximum number of terms to keep per column when auto-training.</param>
51
+
/// <param name="keyOrdinality">How items should be ordered when vectorized. If <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByOccurrence"/> choosen they will be in the order encountered.
52
+
/// If <see cref="ValueToKeyMappingEstimator.KeyOrdinality.ByValue"/>, items are sorted according to their default comparison, for example, text sorting will be case sensitive (for example, 'A' then 'Z' then 'a').</param>
53
+
/// <param name="keyData">Specifies an ordering for the encoding. If specified, this should be a single column data view,
54
+
/// and the key-values will be taken from that column. If unspecified, the ordering will be determined from the input data upon fitting.</param>
/// <param name="numberOfBits">Number of bits to hash into. Must be between 1 and 30, inclusive.</param>
121
+
/// <param name="seed">Hashing seed.</param>
122
+
/// <param name="useOrderedHashing">Whether the position of each term should be included in the hash.</param>
123
+
/// <param name="maximumNumberOfInverts">During hashing we constuct mappings between original values and the produced hash values.
124
+
/// 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.
125
+
/// <paramref name="maximumNumberOfInverts"/> specifies the upper bound of the number of distinct input values mapping to a hash that should be retained.
126
+
/// <value>0</value> does not retain any input values. <value>-1</value> retains all input values mapping to each hash.</param>
/// Creates a new output column, identical to the input column for everything but the missing values.
73
+
/// The missing values of the input column, in this new column are replaced with <see cref="MissingValueReplacingEstimator.ReplacementMode.DefaultValue"/>.
/// Creates a new output column, identical to the input column for everything but the missing values.
74
92
/// The missing values of the input column, in this new column are replaced with <see cref="MissingValueReplacingEstimator.ReplacementMode.DefaultValue"/>.
0 commit comments