39 references to ComponentFactoryUtils
Microsoft.ML.Data (2)
Commands\CrossValidationCommand.cs (1)
167
"",
ComponentFactoryUtils
.CreateFromFunction<IDataView, IDataTransform>(
Commands\ScoreCommand.cs (1)
348
return
ComponentFactoryUtils
.CreateFromFunction(factoryFunc);
Microsoft.ML.Ensemble (3)
Trainer\Binary\EnsembleTrainer.cs (1)
60
ComponentFactoryUtils
.CreateFromFunction(env => new LinearSvmTrainer(env, LabelColumnName, FeatureColumnName))
Trainer\Multiclass\MulticlassDataPartitionEnsembleTrainer.cs (1)
67
ComponentFactoryUtils
.CreateFromFunction(env => new LbfgsMaximumEntropyMulticlassTrainer(env, LabelColumnName, FeatureColumnName))
Trainer\Regression\RegressionEnsembleTrainer.cs (1)
55
ComponentFactoryUtils
.CreateFromFunction(env => new OnlineGradientDescentTrainer(env, LabelColumnName, FeatureColumnName))
Microsoft.ML.FastTree (2)
TreeEnsembleFeaturizer.cs (2)
676
trainScoreArgs.Scorer =
ComponentFactoryUtils
.CreateFromFunction<IDataView, ISchemaBoundMapper, RoleMappedSchema, IDataScorerTransform>(
679
var mapperFactory =
ComponentFactoryUtils
.CreateFromFunction<IPredictor, ISchemaBindableMapper>(
Microsoft.ML.Sweeper (3)
Algorithms\NelderMead.cs (1)
27
public IComponentFactory<IValueGenerator[], ISweeper> FirstBatchSweeper =
ComponentFactoryUtils
.CreateFromFunction<IValueGenerator[], ISweeper>((host, array) => new UniformRandomSweeper(host, new SweeperBase.OptionsBase(), array));
ConfigRunner.cs (1)
48
public IComponentFactory<ISweepResultEvaluator<string>> ResultProcessor =
ComponentFactoryUtils
.CreateFromFunction(
SweepCommand.cs (1)
27
public IComponentFactory<IConfigRunner> Runner =
ComponentFactoryUtils
.CreateFromFunction(
Microsoft.ML.Sweeper.Tests (28)
TestSweeper.cs (28)
97
ComponentFactoryUtils
.CreateFromFunction(
99
ComponentFactoryUtils
.CreateFromFunction(
138
ComponentFactoryUtils
.CreateFromFunction(
140
ComponentFactoryUtils
.CreateFromFunction(
161
ComponentFactoryUtils
.CreateFromFunction(
163
ComponentFactoryUtils
.CreateFromFunction(
188
args.Sweeper =
ComponentFactoryUtils
.CreateFromFunction(
193
ComponentFactoryUtils
.CreateFromFunction(
195
ComponentFactoryUtils
.CreateFromFunction(
238
args.Sweeper =
ComponentFactoryUtils
.CreateFromFunction(
243
ComponentFactoryUtils
.CreateFromFunction(
245
ComponentFactoryUtils
.CreateFromFunction(
309
args.Sweeper =
ComponentFactoryUtils
.CreateFromFunction(
314
ComponentFactoryUtils
.CreateFromFunction(
316
ComponentFactoryUtils
.CreateFromFunction(
361
args.Sweeper =
ComponentFactoryUtils
.CreateFromFunction(
365
ComponentFactoryUtils
.CreateFromFunction(
367
ComponentFactoryUtils
.CreateFromFunction(
374
FirstBatchSweeper =
ComponentFactoryUtils
.CreateFromFunction<IValueGenerator[], ISweeper>(
435
ComponentFactoryUtils
.CreateFromFunction(
437
ComponentFactoryUtils
.CreateFromFunction(
543
ComponentFactoryUtils
.CreateFromFunction(
545
ComponentFactoryUtils
.CreateFromFunction(
552
FirstBatchSweeper =
ComponentFactoryUtils
.CreateFromFunction<IValueGenerator[], ISweeper>(
599
ComponentFactoryUtils
.CreateFromFunction(
601
ComponentFactoryUtils
.CreateFromFunction(
651
ComponentFactoryUtils
.CreateFromFunction(
653
ComponentFactoryUtils
.CreateFromFunction(
Microsoft.ML.Transforms (1)
LearnerFeatureSelection.cs (1)
42
ComponentFactoryUtils
.CreateFromFunction(env =>