3 writes to Seed
Microsoft.ML.AutoML (1)
AutoMLExperiment\AutoMLExperiment.cs (1)
47
_settings.
Seed
= ((IHostEnvironmentInternal)_context.Model.GetEnvironment()).Seed;
Microsoft.ML.AutoML.Tests (2)
TunerTests.cs (2)
174
Seed
= 1,
209
Seed
= 1,
18 references to Seed
Microsoft.ML.AutoML (15)
API\AutoMLExperimentExtension.cs (3)
233
var smac = new SmacTuner(context, settings.SearchSpace, numberInitialPopulation, fitModelEveryNTrials, numberOfTrees, nMinForSpit, splitRatio, localSearchParentCount, numRandomEISearchConfigurations, epsilon, numNeighboursForNumericalParams, settings.
Seed
, channel);
261
/// seed to initialize <see cref="RandomSearchTuner"/>. Otherwise, <see cref="AutoMLExperiment.AutoMLExperimentSettings.
Seed
"/> will be used.
270
seed = seed ?? settings.
Seed
;
API\BinaryClassificationExperiment.cs (2)
371
_rnd = settings.
Seed
.HasValue ? new Random(settings.
Seed
.Value) : new Random();
API\MulticlassClassificationExperiment.cs (2)
357
_rnd = settings.
Seed
.HasValue ? new Random(settings.
Seed
.Value) : new Random();
API\RegressionExperiment.cs (2)
377
_rnd = settings.
Seed
.HasValue ? new Random(settings.
Seed
.Value) : new Random();
AutoMLExperiment\AutoMLExperiment.cs (1)
45
if (_settings.
Seed
== null)
Tuner\CostFrugalTuner.cs (1)
27
: this(settings.SearchSpace, settings.SearchSpace.SampleFromFeatureSpace(settings.SearchSpace.Default), trialResultManager?.GetAllTrialResults(), settings.
Seed
)
Tuner\EciCfoTuner.cs (1)
37
return new CostFrugalTuner(aggregateSearchSpace, aggregateSearchSpace.SampleFromFeatureSpace(aggregateSearchSpace.Default), seed: settings.
Seed
) as ITuner;
Tuner\PipelineProposer.cs (2)
77
if (settings.
Seed
.HasValue)
79
_rand = new Random(settings.
Seed
.Value);
Tuner\RandomSearchTuner.cs (1)
16
: this(settings.SearchSpace, settings.
Seed
)
Microsoft.ML.AutoML.Tests (2)
AutoMLExperimentTests.cs (2)
421
settings.
Seed
.Should().BeNull();
426
settings.
Seed
.Should().Be(1);
Microsoft.ML.Fairlearn (1)
AutoML\TunerFactory.cs (1)
36
_tuner = new RandomSearchTuner(_searchSpace, settings.
Seed
);