58 references to GetEnvironment
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();