270 references to GetEnvironment
Microsoft.ML.AutoML (4)
AutoMLExperiment\AutoMLExperiment.cs (1)
47_settings.Seed = ((IHostEnvironmentInternal)_context.Model.GetEnvironment()).Seed;
AutoMLExperiment\IMLContextManager.cs (1)
36var seed = ((IHostEnvironmentInternal)_mainContext.Model.GetEnvironment()).Seed;
Experiment\Experiment.cs (2)
82if ((_context.Model.GetEnvironment() as ICancelable).IsCanceled) 143int? mainContextSeed = ((IHostEnvironmentInternal)_context.Model.GetEnvironment()).Seed;
Microsoft.ML.AutoML.Tests (1)
MLContextManagerTests.cs (1)
40((IHostEnvironmentInternal)childContext.Model.GetEnvironment()).Seed.Should().Be(10);
Microsoft.ML.Data (58)
DataLoadSave\Binary\BinaryLoaderSaverCatalog.cs (3)
28var env = catalog.GetEnvironment(); 55var env = catalog.GetEnvironment(); 82var env = catalog.GetEnvironment();
DataLoadSave\Database\DatabaseLoaderCatalog.cs (2)
32=> new DatabaseLoader(CatalogUtils.GetEnvironment(catalog), options); 40=> DatabaseLoader.CreateDatabaseLoader<TInput>(CatalogUtils.GetEnvironment(catalog));
DataLoadSave\Text\TextLoaderSaverCatalog.cs (9)
71return new TextLoader(CatalogUtils.GetEnvironment(catalog), options: options, dataSample: dataSample); 87=> new TextLoader(CatalogUtils.GetEnvironment(catalog), options, dataSample); 120=> TextLoader.CreateTextLoader<TInput>(CatalogUtils.GetEnvironment(catalog), hasHeader, separatorChar, allowQuoting, 134=> TextLoader.CreateTextLoader<TInput>(CatalogUtils.GetEnvironment(catalog), options, dataSample); 181var loader = new TextLoader(CatalogUtils.GetEnvironment(catalog), options: options); 204var env = catalog.GetEnvironment(); 245return TextLoader.CreateTextLoader<TInput>(CatalogUtils.GetEnvironment(catalog), hasHeader, separatorChar, 263return TextLoader.CreateTextLoader<TInput>(CatalogUtils.GetEnvironment(catalog), options) 298var env = catalog.GetEnvironment();
TrainCatalog.cs (5)
151IHostEnvironment IInternalCatalog.Environment => Owner.GetEnvironment(); 329return new NaiveCalibratorEstimator(Owner.GetEnvironment(), labelColumnName, scoreColumnName); 349return new PlattCalibratorEstimator(Owner.GetEnvironment(), labelColumnName, scoreColumnName, exampleWeightColumnName); 370return new FixedPlattCalibratorEstimator(Owner.GetEnvironment(), slope, offset, scoreColumnName); 395return new IsotonicCalibratorEstimator(Owner.GetEnvironment(), labelColumnName, scoreColumnName, exampleWeightColumnName);
Transforms\ConversionsExtensionsCatalog.cs (28)
47=> new HashingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, numberOfBits, maximumNumberOfInverts); 66=> new HashingEstimator(CatalogUtils.GetEnvironment(catalog), columns); 84=> new TypeConvertingEstimator(CatalogUtils.GetEnvironment(catalog), new[] { new TypeConvertingEstimator.ColumnOptions(outputColumnName, outputKind, inputColumnName) }); 104var env = CatalogUtils.GetEnvironment(catalog); 120=> new TypeConvertingEstimator(CatalogUtils.GetEnvironment(catalog), columns); 140=> new KeyToValueMappingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName); 161var env = CatalogUtils.GetEnvironment(catalog); 175=> new KeyToVectorMappingEstimator(CatalogUtils.GetEnvironment(catalog), columns); 195=> new KeyToVectorMappingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, outputCountVector); 215var env = CatalogUtils.GetEnvironment(catalog); 254=> new ValueToKeyMappingEstimator(CatalogUtils.GetEnvironment(catalog), 289var env = CatalogUtils.GetEnvironment(catalog); 309=> new ValueToKeyMappingEstimator(CatalogUtils.GetEnvironment(catalog), columns, keyData); 342var lookupMap = DataViewHelper.CreateDataView(catalog.GetEnvironment(), keys, values, 346return new ValueMappingEstimator<TInputType, TOutputType>(catalog.GetEnvironment(), lookupMap, 369var env = CatalogUtils.GetEnvironment(catalog); 374var lookupMap = DataViewHelper.CreateDataView(catalog.GetEnvironment(), keys, values, 378return new ValueMappingEstimator<TInputType, TOutputType>(catalog.GetEnvironment(), lookupMap, 403var env = CatalogUtils.GetEnvironment(catalog); 408var lookupMap = DataViewHelper.CreateDataView(catalog.GetEnvironment(), keys, values, 412return new ValueMappingEstimator<TInputType, TOutputType>(catalog.GetEnvironment(), lookupMap, 447var lookupMap = DataViewHelper.CreateDataView(catalog.GetEnvironment(), keys, values, 451return new ValueMappingEstimator<TInputType, TOutputType>(catalog.GetEnvironment(), lookupMap, 473var env = CatalogUtils.GetEnvironment(catalog); 478var lookupMap = DataViewHelper.CreateDataView(catalog.GetEnvironment(), keys, values, 482return new ValueMappingEstimator<TInputType, TOutputType>(catalog.GetEnvironment(), lookupMap, 512return new ValueMappingEstimator(CatalogUtils.GetEnvironment(catalog), lookupMap, keyColumn, valueColumn, 532var env = CatalogUtils.GetEnvironment(catalog);
Transforms\ExplainabilityCatalog.cs (2)
43=> new FeatureContributionCalculatingEstimator(CatalogUtils.GetEnvironment(catalog), predictionTransformer.Model, numberOfPositiveContributions, numberOfNegativeContributions, predictionTransformer.FeatureColumnName, normalize); 71=> new FeatureContributionCalculatingEstimator(CatalogUtils.GetEnvironment(catalog), predictionTransformer.Model.SubModel, numberOfPositiveContributions, numberOfNegativeContributions, predictionTransformer.FeatureColumnName, normalize);
Transforms\ExtensionsCatalog.cs (5)
75=> new ColumnCopyingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName); 94var env = CatalogUtils.GetEnvironment(catalog); 116=> new ColumnConcatenatingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnNames); 133=> ColumnSelectingEstimator.DropColumns(CatalogUtils.GetEnvironment(catalog), columnNames); 153=> new ColumnSelectingEstimator(CatalogUtils.GetEnvironment(catalog),
Transforms\TransformsCatalog.cs (4)
58_env = owner.GetEnvironment(); 72_env = owner.GetEnvironment(); 86_env = owner.GetEnvironment(); 100_env = owner.GetEnvironment();
Microsoft.ML.FastTree (23)
TreeTrainersCatalog.cs (23)
46var env = CatalogUtils.GetEnvironment(catalog); 68var env = CatalogUtils.GetEnvironment(catalog); 100var env = CatalogUtils.GetEnvironment(catalog); 122var env = CatalogUtils.GetEnvironment(catalog); 156var env = CatalogUtils.GetEnvironment(catalog); 178var env = CatalogUtils.GetEnvironment(catalog); 208var env = CatalogUtils.GetEnvironment(catalog); 228var env = CatalogUtils.GetEnvironment(catalog); 258var env = CatalogUtils.GetEnvironment(catalog); 278var env = CatalogUtils.GetEnvironment(catalog); 310var env = CatalogUtils.GetEnvironment(catalog); 332var env = CatalogUtils.GetEnvironment(catalog); 362var env = CatalogUtils.GetEnvironment(catalog); 384var env = CatalogUtils.GetEnvironment(catalog); 414var env = CatalogUtils.GetEnvironment(catalog); 436var env = CatalogUtils.GetEnvironment(catalog); 457var env = CatalogUtils.GetEnvironment(catalog); 478var env = CatalogUtils.GetEnvironment(catalog); 499var env = CatalogUtils.GetEnvironment(catalog); 520var env = CatalogUtils.GetEnvironment(catalog); 541var env = CatalogUtils.GetEnvironment(catalog); 562var env = CatalogUtils.GetEnvironment(catalog); 583var env = CatalogUtils.GetEnvironment(catalog);
Microsoft.ML.ImageAnalytics (10)
ExtensionsCatalog.cs (10)
33=> new ImageGrayscalingEstimator(CatalogUtils.GetEnvironment(catalog), new[] { (outputColumnName, inputColumnName ?? outputColumnName) }); 50var env = CatalogUtils.GetEnvironment(catalog); 72=> new ImageLoadingEstimator(CatalogUtils.GetEnvironment(catalog), imageFolder, true, new[] { (outputColumnName, inputColumnName ?? outputColumnName) }); 91=> new ImageLoadingEstimator(CatalogUtils.GetEnvironment(catalog), imageFolder, false, new[] { (outputColumnName, inputColumnName ?? outputColumnName) }); 125=> new ImagePixelExtractingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, colorsToExtract, orderOfExtraction, interleavePixelColors, offsetImage, scaleImage, outputAsFloatArray); 135=> new ImagePixelExtractingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 163=> new ImageResizingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, imageWidth, imageHeight, inputColumnName, resizing, cropAnchor); 186=> new ImageResizingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 195=> new VectorToImageConvertingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 234=> new VectorToImageConvertingEstimator(CatalogUtils.GetEnvironment(catalog), imageHeight, imageWidth, outputColumnName, inputColumnName, colorsPresent, orderOfColors, interleavedColors, scaleImage, offsetImage);
Microsoft.ML.KMeansClustering (2)
KMeansCatalog.cs (2)
36var env = CatalogUtils.GetEnvironment(catalog); 63var env = CatalogUtils.GetEnvironment(catalog);
Microsoft.ML.LightGbm (12)
LightGbmCatalog.cs (12)
47var env = CatalogUtils.GetEnvironment(catalog); 67var env = CatalogUtils.GetEnvironment(catalog); 83var env = CatalogUtils.GetEnvironment(catalog); 115var env = CatalogUtils.GetEnvironment(catalog); 135var env = CatalogUtils.GetEnvironment(catalog); 151var env = CatalogUtils.GetEnvironment(catalog); 185var env = CatalogUtils.GetEnvironment(catalog); 206var env = CatalogUtils.GetEnvironment(catalog); 222var env = CatalogUtils.GetEnvironment(catalog); 254var env = CatalogUtils.GetEnvironment(catalog); 274var env = CatalogUtils.GetEnvironment(catalog); 290var env = CatalogUtils.GetEnvironment(catalog);
Microsoft.ML.Mkl.Components (6)
MklComponentsCatalog.cs (6)
39var env = CatalogUtils.GetEnvironment(catalog); 69var env = CatalogUtils.GetEnvironment(catalog); 95var env = CatalogUtils.GetEnvironment(catalog); 126var env = CatalogUtils.GetEnvironment(catalog); 154=> new VectorWhiteningEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, kind, epsilon, maximumNumberOfRows, rank); 171=> new VectorWhiteningEstimator(CatalogUtils.GetEnvironment(catalog), columns);
Microsoft.ML.OnnxConverter (2)
OnnxExportExtensions.cs (2)
52var env = catalog.GetEnvironment(); 68var env = catalog.GetEnvironment();
Microsoft.ML.OnnxTransformer (2)
OnnxCatalog.cs (2)
497=> new DnnImageFeaturizerEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, modelFactory, inputColumnName); 501Runtime.IHostEnvironment env = CatalogUtils.GetEnvironment(catalog);
Microsoft.ML.PCA (4)
PCACatalog.cs (4)
36=> new PrincipalComponentAnalyzer(CatalogUtils.GetEnvironment(catalog), 44=> new PrincipalComponentAnalyzer(CatalogUtils.GetEnvironment(catalog), columns); 76var env = CatalogUtils.GetEnvironment(catalog); 98var env = CatalogUtils.GetEnvironment(catalog);
Microsoft.ML.Recommender (2)
RecommenderCatalog.cs (2)
75=> new MatrixFactorizationTrainer(Owner.GetEnvironment(), labelColumnName, matrixColumnIndexColumnName, matrixRowIndexColumnName, 99=> new MatrixFactorizationTrainer(Owner.GetEnvironment(), options);
Microsoft.ML.StandardTrainers (35)
FactorizationMachine\FactorizationMachineCatalog.cs (3)
39var env = CatalogUtils.GetEnvironment(catalog); 62var env = CatalogUtils.GetEnvironment(catalog); 81var env = CatalogUtils.GetEnvironment(catalog);
StandardTrainersCatalog.cs (32)
50var env = CatalogUtils.GetEnvironment(catalog); 74var env = CatalogUtils.GetEnvironment(catalog); 107var env = CatalogUtils.GetEnvironment(catalog); 131var env = CatalogUtils.GetEnvironment(catalog); 162var env = CatalogUtils.GetEnvironment(catalog); 183var env = CatalogUtils.GetEnvironment(catalog); 213var env = CatalogUtils.GetEnvironment(catalog); 235var env = CatalogUtils.GetEnvironment(catalog); 267var env = CatalogUtils.GetEnvironment(catalog); 289var env = CatalogUtils.GetEnvironment(catalog); 318var env = CatalogUtils.GetEnvironment(catalog); 339var env = CatalogUtils.GetEnvironment(catalog); 370var env = CatalogUtils.GetEnvironment(catalog); 391var env = CatalogUtils.GetEnvironment(catalog); 428var env = CatalogUtils.GetEnvironment(catalog); 450var env = CatalogUtils.GetEnvironment(catalog); 497var env = CatalogUtils.GetEnvironment(catalog); 520var env = CatalogUtils.GetEnvironment(catalog); 554var env = CatalogUtils.GetEnvironment(catalog); 575var env = CatalogUtils.GetEnvironment(catalog); 608var env = CatalogUtils.GetEnvironment(catalog); 628var env = CatalogUtils.GetEnvironment(catalog); 661var env = CatalogUtils.GetEnvironment(catalog); 682var env = CatalogUtils.GetEnvironment(catalog); 704return new NaiveBayesMulticlassTrainer(CatalogUtils.GetEnvironment(catalog), labelColumnName, featureColumnName); 762var env = CatalogUtils.GetEnvironment(catalog); 801var env = CatalogUtils.GetEnvironment(catalog); 830return new LinearSvmTrainer(CatalogUtils.GetEnvironment(catalog), labelColumnName, featureColumnName, exampleWeightColumnName, numberOfIterations); 851return new LinearSvmTrainer(CatalogUtils.GetEnvironment(catalog), options); 875return new PriorTrainer(CatalogUtils.GetEnvironment(catalog), labelColumnName, exampleWeightColumnName); 890=> new LdSvmTrainer(catalog.GetEnvironment(), options); 929return new LdSvmTrainer(catalog.GetEnvironment(), options);
Microsoft.ML.TensorFlow (2)
TensorflowCatalog.cs (2)
37=> TensorFlowUtils.LoadTensorFlowModel(CatalogUtils.GetEnvironment(catalog), modelLocation); 63=> TensorFlowUtils.LoadTensorFlowModel(CatalogUtils.GetEnvironment(catalog), modelLocation, treatOutputAsBatched);
Microsoft.ML.TimeSeries (9)
ExtensionsCatalog.cs (9)
63=> new IidChangePointEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, confidence, changeHistoryLength, inputColumnName, martingale, eps); 112=> new IidSpikeEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, confidence, pvalueHistoryLength, inputColumnName, side); 169=> new SsaChangePointEstimator(CatalogUtils.GetEnvironment(catalog), new SsaChangePointDetector.Options 233=> new SsaSpikeEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, confidence, pvalueHistoryLength, trainingWindowSize, seasonalityWindowSize, inputColumnName, side, errorFunction); 257=> new SrCnnAnomalyEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, windowSize, backAddWindowSize, lookaheadWindowSize, averagingWindowSize, judgementWindowSize, threshold, inputColumnName); 316=> new SrCnnEntireAnomalyDetector(CatalogUtils.GetEnvironment(catalog), input, outputColumnName, inputColumnName, options); 367IHostEnvironment host = CatalogUtils.GetEnvironment(catalog); 421CatalogUtils.GetEnvironment(catalog), 480new SsaForecastingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, windowSize, seriesLength, trainSize,
Microsoft.ML.TorchSharp (10)
TorchSharpCatalog.cs (10)
51=> new TextClassificationTrainer(CatalogUtils.GetEnvironment(catalog), labelColumnName, outputColumnName, scoreColumnName, sentence1ColumnName, sentence2ColumnName, batchSize, maxEpochs, validationSet, architecture); 64=> new TextClassificationTrainer(CatalogUtils.GetEnvironment(catalog), options); 91=> new SentenceSimilarityTrainer(CatalogUtils.GetEnvironment(catalog), labelColumnName, scoreColumnName, sentence1ColumnName, sentence2ColumnName, batchSize, maxEpochs, validationSet, architecture); 104=> new SentenceSimilarityTrainer(CatalogUtils.GetEnvironment(catalog), options); 128=> new ObjectDetectionTrainer(CatalogUtils.GetEnvironment(catalog), labelColumnName, predictedLabelColumnName, scoreColumnName, boundingBoxColumnName, predictedBoundingBoxColumnName, imageColumnName, maxEpoch); 139=> new ObjectDetectionTrainer(CatalogUtils.GetEnvironment(catalog), options); 225=> new NerTrainer(CatalogUtils.GetEnvironment(catalog), labelColumnName, outputColumnName, sentence1ColumnName, batchSize, maxEpochs, validationSet, architecture); 236=> new NerTrainer(CatalogUtils.GetEnvironment(catalog), options); 270=> new QATrainer(CatalogUtils.GetEnvironment(catalog), contextColumnName, questionColumnName, trainingAnswerColumnName, answerIndexColumnName, predictedAnswerColumnName, scoreColumnName, topK, batchSize, maxEpochs, validationSet, architecture); 283=> new QATrainer(CatalogUtils.GetEnvironment(catalog), options);
Microsoft.ML.Transforms (85)
CategoricalCatalog.cs (7)
50=> new OneHotEncodingEstimator(CatalogUtils.GetEnvironment(catalog), 84var env = CatalogUtils.GetEnvironment(catalog); 98=> new OneHotEncodingEstimator(CatalogUtils.GetEnvironment(catalog), columns); 111=> new OneHotEncodingEstimator(CatalogUtils.GetEnvironment(catalog), columns, keyData); 147=> new OneHotHashEncodingEstimator(CatalogUtils.GetEnvironment(catalog), 184var env = CatalogUtils.GetEnvironment(catalog); 198=> new OneHotHashEncodingEstimator(CatalogUtils.GetEnvironment(catalog), columns);
ConversionsCatalog.cs (2)
27var env = CatalogUtils.GetEnvironment(catalog); 49=> new KeyToBinaryVectorMappingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName);
CustomMappingCatalog.cs (4)
48=> new CustomMappingEstimator<TSrc, TDst>(catalog.GetEnvironment(), mapAction, contractName, inputSchemaDefinition, outputSchemaDefinition); 72=> new StatefulCustomMappingEstimator<TSrc, TDst, TState>(catalog.GetEnvironment(), mapAction, contractName, stateInitAction); 83=> new CustomMappingFilter<TSrc>(catalog.GetEnvironment(), input, filterPredicate); 99=> new StatefulCustomMappingFilter<TSrc, TState>(catalog.GetEnvironment(), input, filterPredicate, stateInitAction);
Dracula\CountTargetEncodingTransformer.cs (4)
441var env = CatalogUtils.GetEnvironment(catalog); 482return new CountTargetEncodingEstimator(CatalogUtils.GetEnvironment(catalog), labelColumn, initialCounts, columns); 510var env = CatalogUtils.GetEnvironment(catalog); 535return new CountTargetEncodingEstimator(CatalogUtils.GetEnvironment(catalog), labelColumn, initialCounts, new[] { new InputOutputColumnPair(outputColumnName, inputColumnName) });
ExpressionCatalog.cs (1)
28=> new ExpressionEstimator(CatalogUtils.GetEnvironment(catalog), new ExpressionEstimator.ColumnOptions(outputColumnName, inputColumnNames, expression));
ExtensionsCatalog.cs (5)
37=> new MissingValueIndicatorEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName); 54var env = CatalogUtils.GetEnvironment(catalog); 83=> new MissingValueReplacingEstimator(CatalogUtils.GetEnvironment(catalog), new[] { new MissingValueReplacingEstimator.ColumnOptions(outputColumnName, inputColumnName, replacementMode, imputeBySlot) }); 107var env = CatalogUtils.GetEnvironment(catalog); 121=> new MissingValueReplacingEstimator(CatalogUtils.GetEnvironment(catalog), columns);
FeatureSelectionCatalog.cs (5)
42=> new MutualInformationFeatureSelectingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, labelColumnName, slotsInOutput, numberOfBins); 65var env = CatalogUtils.GetEnvironment(catalog); 79=> new CountFeatureSelectingEstimator(CatalogUtils.GetEnvironment(catalog), columns); 101=> new CountFeatureSelectingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, count); 122var env = CatalogUtils.GetEnvironment(catalog);
KernelCatalog.cs (2)
47=> new ApproximatedKernelMappingEstimator(CatalogUtils.GetEnvironment(catalog), 58=> new ApproximatedKernelMappingEstimator(CatalogUtils.GetEnvironment(catalog), columns);
NormalizerCatalog.cs (20)
29var env = CatalogUtils.GetEnvironment(catalog); 57return new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 79new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), 108return new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 125new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), 152return new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 167new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), 197return new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 214new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), 243return new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 267new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), 300return new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 321new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), 354return new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columnOptions); 381new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), 393=> new NormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columns); 417=> new LpNormNormalizingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, norm, ensureZeroMean); 426=> new LpNormNormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columns); 453=> new GlobalContrastNormalizingEstimator(CatalogUtils.GetEnvironment(catalog), outputColumnName, inputColumnName, ensureZeroMean, ensureUnitStandardDeviation, scale); 462=> new GlobalContrastNormalizingEstimator(CatalogUtils.GetEnvironment(catalog), columns);
PermutationFeatureImportanceExtensions.cs (8)
75catalog.GetEnvironment(), 139var env = catalog.GetEnvironment(); 225catalog.GetEnvironment(), 289var env = catalog.GetEnvironment(); 379catalog.GetEnvironment(), 443var env = catalog.GetEnvironment(); 540catalog.GetEnvironment(), 606var env = catalog.GetEnvironment();
SvmLight\SvmLightLoaderSaverCatalog.cs (3)
35=> new SvmLightLoader(CatalogUtils.GetEnvironment(catalog), new SvmLightLoader.Options() 52=> new SvmLightLoader(CatalogUtils.GetEnvironment(catalog), new SvmLightLoader.Options() 140var saver = new SvmLightSaver(CatalogUtils.GetEnvironment(catalog), args);
Text\TextCatalog.cs (24)
39=> new TextFeaturizingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 65=> new TextFeaturizingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 93=> new TokenizingByCharactersEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 108var env = CatalogUtils.GetEnvironment(catalog); 141=> new TextNormalizingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 166=> new WordEmbeddingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), outputColumnName, inputColumnName, modelKind); 190=> new WordEmbeddingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 211=> new WordEmbeddingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), modelKind, columns); 233=> new WordTokenizingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), outputColumnName, inputColumnName, separators); 243=> new WordTokenizingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), columns); 276new NgramExtractingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), outputColumnName, inputColumnName, 288=> new NgramExtractingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), columns); 311=> new StopWordsRemovingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), outputColumnName, inputColumnName, language); 334=> new CustomStopWordsRemovingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), outputColumnName, inputColumnName, stopwords); 362=> new WordBagEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 387=> new WordBagEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 416=> new WordBagEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 452=> new WordHashBagEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 490=> new WordHashBagEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 530=> new NgramHashingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 576=> new NgramHashingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), 592=> new NgramHashingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), columns); 636=> new LatentDirichletAllocationEstimator(CatalogUtils.GetEnvironment(catalog), 651=> new LatentDirichletAllocationEstimator(CatalogUtils.GetEnvironment(catalog), columns);
Microsoft.ML.Vision (3)
VisionCatalog.cs (3)
83var env = CatalogUtils.GetEnvironment(catalog); 103new ImageClassificationTrainer(CatalogUtils.GetEnvironment(catalog), options); 130return new ImageClassificationTrainer(CatalogUtils.GetEnvironment(catalog), labelColumnName,