3 interfaces inheriting from IComponentFactory
Microsoft.ML.Core (1)
Data\ServerChannel.cs (1)
143public interface IServerFactory : IComponentFactory<IChannel, IServer>
Microsoft.ML.FastTree (1)
Training\EarlyStoppingCriteria.cs (1)
63internal interface IEarlyStoppingCriterionFactory : IComponentFactory<bool, EarlyStoppingRuleBase>
Microsoft.ML.Transforms (1)
Text\WordBagTransform.cs (1)
626internal interface INgramExtractorFactoryFactory : IComponentFactory<TermLoaderArguments, INgramExtractorFactory> { }
2 implementations of IComponentFactory
Microsoft.ML.Core (2)
CommandLine\CmdParser.cs (1)
2385private class ComponentFactory<TArg1, TComponent> : ComponentFactory, IComponentFactory<TArg1, TComponent>
ComponentModel\ComponentFactory.cs (1)
114private sealed class SimpleComponentFactory<TArg1, TComponent> : IComponentFactory<TArg1, TComponent>
33 references to IComponentFactory
Microsoft.ML.Core (1)
ComponentModel\ComponentFactory.cs (1)
67public static IComponentFactory<TArg1, TComponent> CreateFromFunction<TArg1, TComponent>(Func<IHostEnvironment, TArg1, TComponent> factory)
Microsoft.ML.Data (22)
Commands\CrossValidationCommand.cs (2)
78public KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>[] PreTransforms; 166new KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>(
Commands\DataCommand.cs (4)
27public IComponentFactory<IMultiStreamSource, ILegacyDataLoader> Loader; 59public KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>[] Transforms; 271var loaderFactory = ImplOptions.Loader; 351var loaderFactory = ImplOptions.Loader;
Commands\ScoreCommand.cs (4)
70public KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>[] PostTransform; 256IComponentFactory<IPredictor, ISchemaBindableMapper> mapperFactory = null) 280IComponentFactory<IPredictor, ISchemaBindableMapper> mapperFactory, 365IComponentFactory<IPredictor, ISchemaBindableMapper> mapperFactory = null,
DataLoadSave\LegacyCompositeDataLoader.cs (5)
36public IComponentFactory<IMultiStreamSource, ILegacyDataLoader> Loader; 39public KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>[] Transforms; 113params KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>[] transformArgs) 124KeyValuePair<string, IComponentFactory<IDataView, IDataTransform>>[] transformArgs) 133static string GetTagData(IComponentFactory<IDataView, IDataTransform> factory)
Transforms\TrainAndScoreTransformer.cs (2)
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\ValueMapping.cs (1)
423public IComponentFactory<IMultiStreamSource, ILegacyDataLoader> Loader;
Transforms\ValueToKeyMappingTransformer.cs (2)
113internal IComponentFactory<IMultiStreamSource, ILegacyDataLoader> Loader; 387string file, string termsColumn, IComponentFactory<IMultiStreamSource, ILegacyDataLoader> loaderFactory,
Utilities\ComponentCreation.cs (2)
99Type factoryType = typeof(IComponentFactory<IMultiStreamSource, ILegacyDataLoader>); 140Type factoryType = typeof(IComponentFactory<IDataView, IDataTransform>);
Microsoft.ML.FastTree (1)
TreeEnsembleFeaturizer.cs (1)
679var mapperFactory = ComponentFactoryUtils.CreateFromFunction<IPredictor, ISchemaBindableMapper>(
Microsoft.ML.Maml (1)
HelpCommand.cs (1)
58public IComponentFactory<string, IGenerator> Generator;
Microsoft.ML.Parquet (1)
PartitionedFileLoader.cs (1)
81public IComponentFactory<IMultiStreamSource, ILegacyDataLoader> Loader;
Microsoft.ML.Sweeper (1)
Algorithms\NelderMead.cs (1)
27public IComponentFactory<IValueGenerator[], ISweeper> FirstBatchSweeper = ComponentFactoryUtils.CreateFromFunction<IValueGenerator[], ISweeper>((host, array) => new UniformRandomSweeper(host, new SweeperBase.OptionsBase(), array));
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipeBase.cs (1)
344protected void VerifyCustArgs<TArg, TRes>(IHostEnvironment env, IComponentFactory<TArg, TRes> factory)
Microsoft.ML.Transforms (5)
Text\StopWordsRemovingTransformer.cs (4)
719internal IComponentFactory<IMultiStreamSource, ILegacyDataLoader> Loader; 779IComponentFactory<IMultiStreamSource, ILegacyDataLoader> loader, ref string stopwordsCol) 832IComponentFactory<IMultiStreamSource, ILegacyDataLoader> loaderFactory, out NormStr.Pool stopWordsMap) 928string dataFile, string stopwordsColumn, IComponentFactory<IMultiStreamSource, ILegacyDataLoader> loader, params (string outputColumnName, string inputColumnName)[] columns) :
Text\WordBagTransform.cs (1)
598internal IComponentFactory<IMultiStreamSource, ILegacyDataLoader> Loader;