コード例 #1
0
 /// <summary>
 ///  Convert the key types back to binary verctor.
 /// </summary>
 /// <param name="catalog">The categorical transform's catalog.</param>
 /// <param name="inputColumn">The name of the input column of the transformation.</param>
 /// <param name="outputColumn">The name of the column produced by the transformation.</param>
 /// <returns></returns>
 public static KeyToBinaryVectorMappingEstimator MapKeyToBinaryVector(this TransformsCatalog.CategoricalTransforms catalog,
                                                                      string inputColumn,
                                                                      string outputColumn = null)
 => new KeyToBinaryVectorMappingEstimator(CatalogUtils.GetEnvironment(catalog), inputColumn, outputColumn);
コード例 #2
0
 /// <summary>
 ///  Convert the key types back to binary verctor.
 /// </summary>
 /// <param name="catalog">The categorical transform's catalog.</param>
 /// <param name="columns">The input column.</param>
 /// <returns></returns>
 public static KeyToBinaryVectorMappingEstimator MapKeyToBinaryVector(this TransformsCatalog.CategoricalTransforms catalog,
                                                                      params KeyToBinaryVectorTransform.ColumnInfo[] columns)
 => new KeyToBinaryVectorMappingEstimator(CatalogUtils.GetEnvironment(catalog), columns);