DataLoadSave\LegacyCompositeDataLoader.cs (13)
39public KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>[] Transforms;
46public readonly IDataTransform Transform;
48public TransformEx(string tag, string argsString, IDataTransform transform)
113params KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>[] transformArgs)
124KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>[] transformArgs)
133static string GetTagData(IComponentFactory<IDataView, IDataTransform> factory)
234var cur = curDataView as IDataTransform;
394IDataTransform xf;
395ctx.LoadModel<IDataTransform, SignatureLoadDataTransform>(env, out xf,
496IDataTransform xf;
497ctx.LoadModel<IDataTransform, SignatureLoadDataTransform>(host, out xf,
520public static void SavePipe(IHostEnvironment env, ModelSaveContext ctx, Action<ModelSaveContext> loaderSaveAction, IList<IDataTransform> transforms)
Transforms\ColumnConcatenatingTransformer.cs (5)
19[assembly: LoadableClass(ColumnConcatenatingTransformer.Summary, typeof(IDataTransform), typeof(ColumnConcatenatingTransformer), typeof(ColumnConcatenatingTransformer.TaggedOptions), typeof(SignatureDataTransform),
22[assembly: LoadableClass(ColumnConcatenatingTransformer.Summary, typeof(IDataTransform), typeof(ColumnConcatenatingTransformer), null, typeof(SignatureLoadDataTransform),
369internal static IDataTransform Create(IHostEnvironment env, Options options, IDataView input)
389internal static IDataTransform Create(IHostEnvironment env, TaggedOptions options, IDataView input)
411private static IDataTransform Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
Transforms\ColumnCopying.cs (4)
17[assembly: LoadableClass(ColumnCopyingTransformer.Summary, typeof(IDataTransform), typeof(ColumnCopyingTransformer),
22[assembly: LoadableClass(ColumnCopyingTransformer.Summary, typeof(IDataTransform), typeof(ColumnCopyingTransformer), null, typeof(SignatureLoadDataTransform),
147internal static IDataTransform Create(IHostEnvironment env, Options options, IDataView input)
180private static IDataTransform Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
Transforms\Hashing.cs (4)
18[assembly: LoadableClass(HashingTransformer.Summary, typeof(IDataTransform), typeof(HashingTransformer), typeof(HashingTransformer.Options), typeof(SignatureDataTransform),
21[assembly: LoadableClass(HashingTransformer.Summary, typeof(IDataTransform), typeof(HashingTransformer), null, typeof(SignatureLoadDataTransform),
319private static IDataTransform Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
327private static IDataTransform Create(IHostEnvironment env, Options options, IDataView input)
Transforms\KeyToValue.cs (4)
20[assembly: LoadableClass(typeof(IDataTransform), typeof(KeyToValueMappingTransformer), typeof(KeyToValueMappingTransformer.Options), typeof(SignatureDataTransform),
23[assembly: LoadableClass(typeof(IDataTransform), typeof(KeyToValueMappingTransformer), null, typeof(SignatureLoadDataTransform),
102internal static IDataTransform Create(IHostEnvironment env, Options options, IDataView input)
133private static IDataTransform Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
Transforms\KeyToVector.cs (4)
19[assembly: LoadableClass(KeyToVectorMappingTransformer.Summary, typeof(IDataTransform), typeof(KeyToVectorMappingTransformer), typeof(KeyToVectorMappingTransformer.Options), typeof(SignatureDataTransform),
22[assembly: LoadableClass(KeyToVectorMappingTransformer.Summary, typeof(IDataTransform), typeof(KeyToVectorMappingTransformer), null, typeof(SignatureLoadDataTransform),
193private static IDataTransform Create(IHostEnvironment env, Options options, IDataView input)
214private static IDataTransform Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
Transforms\NormalizeColumn.cs (11)
20[assembly: LoadableClass(NormalizeTransform.MinMaxNormalizerSummary, typeof(IDataTransform), typeof(NormalizeTransform), typeof(NormalizeTransform.MinMaxArguments), typeof(SignatureDataTransform),
23[assembly: LoadableClass(NormalizeTransform.MeanVarNormalizerSummary, typeof(IDataTransform), typeof(NormalizeTransform), typeof(NormalizeTransform.MeanVarArguments), typeof(SignatureDataTransform),
26[assembly: LoadableClass(NormalizeTransform.LogMeanVarNormalizerSummary, typeof(IDataTransform), typeof(NormalizeTransform), typeof(NormalizeTransform.LogMeanVarArguments), typeof(SignatureDataTransform),
29[assembly: LoadableClass(NormalizeTransform.BinNormalizerSummary, typeof(IDataTransform), typeof(NormalizeTransform), typeof(NormalizeTransform.BinArguments), typeof(SignatureDataTransform),
32[assembly: LoadableClass(NormalizeTransform.RobustScalingNormalizerSummary, typeof(IDataTransform), typeof(NormalizeTransform), typeof(NormalizeTransform.RobustScalingArguments), typeof(SignatureDataTransform),
47/// The normalize transform for support of normalization via the <see cref="IDataTransform"/> mechanism.
307internal static IDataTransform Create(IHostEnvironment env, MinMaxArguments args, IDataView input)
325internal static IDataTransform Create(IHostEnvironment env, MeanVarArguments args, IDataView input)
345internal static IDataTransform Create(IHostEnvironment env, LogMeanVarArguments args, IDataView input)
365internal static IDataTransform Create(IHostEnvironment env, BinArguments args, IDataView input)
386internal static IDataTransform Create(IHostEnvironment env, RobustScalingArguments args, IDataView input)
Transforms\NormalizeUtils.cs (5)
87var xf = NormalizeTransform.Create(host, input, input.Data);
99var xf = NormalizeTransform.Create(host, input, input.Data);
111var xf = NormalizeTransform.Create(host, input, input.Data);
123var xf = NormalizeTransform.Create(host, input, input.Data);
135var xf = NormalizeTransform.Create(host, input, input.Data);
Transforms\SlotsDroppingTransformer.cs (4)
19[assembly: LoadableClass(SlotsDroppingTransformer.Summary, typeof(IDataTransform), typeof(SlotsDroppingTransformer), typeof(SlotsDroppingTransformer.Options), typeof(SignatureDataTransform),
22[assembly: LoadableClass(SlotsDroppingTransformer.Summary, typeof(IDataTransform), typeof(SlotsDroppingTransformer), null, typeof(SignatureLoadDataTransform),
314private static IDataTransform Create(IHostEnvironment env, Options options, IDataView input)
321private static IDataTransform Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
Transforms\TrainAndScoreTransformer.cs (8)
14[assembly: LoadableClass(ScoringTransformer.Summary, typeof(IDataTransform), typeof(ScoringTransformer), typeof(ScoringTransformer.Arguments), typeof(SignatureDataTransform),
17[assembly: LoadableClass(TrainAndScoreTransformer.Summary, typeof(IDataTransform), typeof(TrainAndScoreTransformer),
61internal static IDataTransform Create(IHostEnvironment env,
78private static IDataTransform Create(IHostEnvironment env, Arguments args, IDataView input)
177internal static IDataTransform Create(IHostEnvironment env,
202private static IDataTransform Create(IHostEnvironment env, Arguments args, IDataView input)
214internal static IDataTransform Create(IHostEnvironment env, Arguments args, IDataView input, IComponentFactory<IPredictor, ISchemaBindableMapper> mapperFactory)
226private static IDataTransform Create(IHostEnvironment env, Arguments args, ITrainer trainer, IDataView input, IComponentFactory<IPredictor, ISchemaBindableMapper> mapperFactory)
Transforms\TypeConverting.cs (5)
18[assembly: LoadableClass(TypeConvertingTransformer.Summary, typeof(IDataTransform), typeof(TypeConvertingTransformer), typeof(TypeConvertingTransformer.Options), typeof(SignatureDataTransform),
21[assembly: LoadableClass(TypeConvertingTransformer.Summary, typeof(IDataTransform), typeof(TypeConvertingTransformer), null, typeof(SignatureLoadDataTransform),
43var view = TypeConvertingTransformer.Create(h, input, input.Data);
295internal static IDataTransform Create(IHostEnvironment env, Options options, IDataView input)
344private static IDataTransform Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
Transforms\ValueMapping.cs (4)
19[assembly: LoadableClass(ValueMappingTransformer.Summary, typeof(IDataTransform), typeof(ValueMappingTransformer),
24[assembly: LoadableClass(ValueMappingTransformer.Summary, typeof(IDataTransform), typeof(ValueMappingTransformer), null, typeof(SignatureLoadDataTransform),
602private static IDataTransform Create(IHostEnvironment env, Options options, IDataView input)
761private static IDataTransform Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
Transforms\ValueToKeyMappingTransformer.cs (4)
22[assembly: LoadableClass(ValueToKeyMappingTransformer.Summary, typeof(IDataTransform), typeof(ValueToKeyMappingTransformer),
26[assembly: LoadableClass(ValueToKeyMappingTransformer.Summary, typeof(IDataTransform), typeof(ValueToKeyMappingTransformer), null, typeof(SignatureLoadDataTransform),
267internal static IDataTransform Create(IHostEnvironment env, Options options, IDataView input)
363private static IDataTransform Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
Utilities\ComponentCreation.cs (5)
125public static IDataTransform CreateTransform<TArgs>(this IHostEnvironment env, TArgs arguments, IDataView source)
130return CreateCore<IDataTransform, TArgs, SignatureDataTransform>(env, arguments, source);
136public static IDataTransform CreateTransform(this IHostEnvironment env, string settings, IDataView source)
140Type factoryType = typeof(IComponentFactory<IDataView, IDataTransform>);
141return CreateCore<IDataTransform>(env, factoryType, typeof(SignatureDataTransform), settings, source);