2 implementations of IComponentFactory
Microsoft.ML.Core (2)
CommandLine\CmdParser.cs (1)
2424private class ComponentFactory<TArg1, TArg2, TArg3, TComponent> : ComponentFactory, IComponentFactory<TArg1, TArg2, TArg3, TComponent>
ComponentModel\ComponentFactory.cs (1)
154private sealed class SimpleComponentFactory<TArg1, TArg2, TArg3, TComponent> : IComponentFactory<TArg1, TArg2, TArg3, TComponent>
22 references to IComponentFactory
Microsoft.ML.Core (1)
ComponentModel\ComponentFactory.cs (1)
85public static IComponentFactory<TArg1, TArg2, TArg3, TComponent> CreateFromFunction<TArg1, TArg2, TArg3, TComponent>(Func<IHostEnvironment, TArg1, TArg2, TArg3, TComponent> factory)
Microsoft.ML.Data (19)
Commands\CrossValidationCommand.cs (4)
34public IComponentFactory<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform> Scorer; 184var scorer = ImplOptions.Scorer; 352private readonly IComponentFactory<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform> _scorer; 392IComponentFactory<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform> scorer,
Commands\ScoreCommand.cs (9)
21using TScorerFactory = IComponentFactory<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform>; 58public TScorerFactory Scorer; 110var scorer = ImplOptions.Scorer; 243var sc = GetScorerComponentAndMapper(predictor, null, data.Schema, env, null, out var mapper); 248TScorerFactory scorer, 268var sc = GetScorerComponentAndMapper(predictor, scorer, schema, env, mapperFactory, out var mapper); 275private static TScorerFactory GetScorerComponentAndMapper( 277TScorerFactory scorerFactory, 301public static TScorerFactory GetScorerComponent(
Commands\TestCommand.cs (1)
48public IComponentFactory<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform> Scorer;
Commands\TrainTestCommand.cs (1)
32public IComponentFactory<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform> Scorer;
Scorers\FeatureContributionCalculation.cs (1)
69var scorer = ScoreUtils.GetScorerComponent(env, contributionMapper);
Transforms\TrainAndScoreTransformer.cs (2)
42public IComponentFactory<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform> Scorer; 159public IComponentFactory<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform> Scorer;
Utilities\ComponentCreation.cs (1)
163Type factoryType = typeof(IComponentFactory<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform>);
Microsoft.ML.EntryPoints (2)
ScoreModel.cs (2)
86var scorer = ScoreUtils.GetScorerComponent(host, mapper, input.Suffix); 136var scorer = ScoreUtils.GetScorerComponent(host, mapper);