1 type derived from Builder
Microsoft.ML.Data (1)
Transforms\ValueToKeyMappingTransformerImpl.cs (1)
189
private abstract class Builder<T> :
Builder
18 references to Builder
Microsoft.ML.Data (18)
Transforms\ValueToKeyMappingTransformer.cs (7)
467
private static TermMap CreateTermMapFromData(IHostEnvironment env, IChannel ch, IDataView keyData, bool autoConvert,
Builder
bldr)
541
var
bldr =
Builder
.Create(infos[iinfo].TypeSrc, sortOrder);
553
var
bldr =
Builder
.Create(infos[iinfo].TypeSrc, columns[iinfo].KeyOrdinality);
599
var
bldr =
Builder
.Create(infos[iinfo].TypeSrc, columns[iinfo].KeyOrdinality);
Transforms\ValueToKeyMappingTransformerImpl.cs (11)
23
private static readonly FuncStaticMethodInfo1<PrimitiveDataViewType, bool,
Builder
> _createCoreMethodInfo
24
= new FuncStaticMethodInfo1<PrimitiveDataViewType, bool,
Builder
>(CreateCore<int>);
42
public static
Builder
Create(DataViewType type, ValueToKeyMappingEstimator.KeyOrdinality sortOrder)
60
private static
Builder
CreateCore<T>(PrimitiveDataViewType type, bool sorted)
255
/// The trainer is an object that given an <see cref="
Builder
"/> instance, maps a particular
260
private readonly
Builder
_bldr;
265
private Trainer(
Builder
bldr, int max)
284
public static Trainer Create(DataViewRow row, int col, bool autoConvert, int count,
Builder
bldr)
301
private static Trainer CreateOne<T>(DataViewRow row, int col, bool autoConvert, int count,
Builder
bldr)
317
private static Trainer CreateVec<T>(DataViewRow row, int col, int count,
Builder
bldr)
475
/// These are the immutable and serializable analogs to the <see cref="
Builder
"/> used in