203 references to CatalogUtils
Microsoft.ML.Data (35)
DataLoadSave\Database\DatabaseLoaderCatalog.cs (2)
32=> new DatabaseLoader(CatalogUtils.GetEnvironment(catalog), options); 40=> DatabaseLoader.CreateDatabaseLoader<TInput>(CatalogUtils.GetEnvironment(catalog));
DataLoadSave\Text\TextLoaderSaverCatalog.cs (7)
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); 245return TextLoader.CreateTextLoader<TInput>(CatalogUtils.GetEnvironment(catalog), hasHeader, separatorChar, 263return TextLoader.CreateTextLoader<TInput>(CatalogUtils.GetEnvironment(catalog), options)
TrainCatalog.cs (1)
146/// through <see cref="CatalogUtils"/> to get more "hidden" information from this object,
Transforms\ConversionsExtensionsCatalog.cs (18)
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); 369var env = CatalogUtils.GetEnvironment(catalog); 403var env = CatalogUtils.GetEnvironment(catalog); 473var env = CatalogUtils.GetEnvironment(catalog); 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),
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.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.StandardTrainers (33)
FactorizationMachine\FactorizationMachineCatalog.cs (3)
39var env = CatalogUtils.GetEnvironment(catalog); 62var env = CatalogUtils.GetEnvironment(catalog); 81var env = CatalogUtils.GetEnvironment(catalog);
StandardTrainersCatalog.cs (30)
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);
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 (52)
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);
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);
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 (3)
108var env = CatalogUtils.GetEnvironment(catalog); 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,