2 instantiations of ApproximatedKernelMappingEstimator
Microsoft.ML.Transforms (2)
KernelCatalog.cs (2)
47=> new ApproximatedKernelMappingEstimator(CatalogUtils.GetEnvironment(catalog), 58=> new ApproximatedKernelMappingEstimator(CatalogUtils.GetEnvironment(catalog), columns);
31 references to ApproximatedKernelMappingEstimator
Microsoft.ML.Core.Tests (4)
UnitTests\TestEntryPoints.cs (4)
1552new ApproximatedKernelMappingEstimator.ColumnOptions("Features1", 10, false, "Features"), 1553new ApproximatedKernelMappingEstimator.ColumnOptions("Features2", 10, false, "Features"), 2009new ApproximatedKernelMappingEstimator.ColumnOptions("Features1", 10, false, "Features"), 2010new ApproximatedKernelMappingEstimator.ColumnOptions("Features2", 10, false, "Features"),
Microsoft.ML.Samples (1)
Dynamic\Transforms\ApproximatedKernelMap.cs (1)
31var approximation = mlContext.Transforms.ApproximatedKernelMap(
Microsoft.ML.Tests (7)
Transformers\RffTests.cs (7)
54var pipe = ML.Transforms.ApproximatedKernelMap(new[]{ 55new ApproximatedKernelMappingEstimator.ColumnOptions("RffA", 5, false, "A"), 56new ApproximatedKernelMappingEstimator.ColumnOptions("RffB", 10, true, "A", new LaplacianKernel()) 72var est = ML.Transforms.ApproximatedKernelMap("RffVectorFloat", "VectorFloat", 3, true); 100var est = ML.Transforms.ApproximatedKernelMap(new[]{ 101new ApproximatedKernelMappingEstimator.ColumnOptions("RffA", 5, false, "A"), 102new ApproximatedKernelMappingEstimator.ColumnOptions("RffB", 10, true, "A", new LaplacianKernel())
Microsoft.ML.Transforms (19)
FourierDistributionSampler.cs (1)
38/// <seealso cref="ApproximatedKernelMappingEstimator"/>.
KernelCatalog.cs (8)
17/// Create an <see cref="ApproximatedKernelMappingEstimator"/> that maps input vectors to a low dimensional 40public static ApproximatedKernelMappingEstimator ApproximatedKernelMap(this TransformsCatalog catalog, 43int rank = ApproximatedKernelMappingEstimator.Defaults.Rank, 44bool useCosAndSinBases = ApproximatedKernelMappingEstimator.Defaults.UseCosAndSinBases, 48new[] { new ApproximatedKernelMappingEstimator.ColumnOptions(outputColumnName, rank, useCosAndSinBases, inputColumnName, generator, seed) }); 51/// Create an <see cref="ApproximatedKernelMappingEstimator"/> that maps input vectors to a low dimensional 57internal static ApproximatedKernelMappingEstimator ApproximatedKernelMap(this TransformsCatalog catalog, params ApproximatedKernelMappingEstimator.ColumnOptions[] columns)
RandomFourierFeaturizing.cs (10)
32/// <see cref="ITransformer"/> resulting from fitting an <see cref="ApproximatedKernelMappingEstimator"/>. 42public int NewDim = ApproximatedKernelMappingEstimator.Defaults.Rank; 48public bool UseSin = ApproximatedKernelMappingEstimator.Defaults.UseCosAndSinBases; 107public TransformInfo(IHost host, ApproximatedKernelMappingEstimator.ColumnOptions column, int d, float avgDist) 236private static (string outputColumnName, string inputColumnName)[] GetColumnPairs(ApproximatedKernelMappingEstimator.ColumnOptions[] columns) 253internal ApproximatedKernelTransformer(IHostEnvironment env, IDataView input, ApproximatedKernelMappingEstimator.ColumnOptions[] columns) 279private float[] GetAvgDistances(ApproximatedKernelMappingEstimator.ColumnOptions[] columns, IDataView input) 418var cols = new ApproximatedKernelMappingEstimator.ColumnOptions[options.Columns.Length]; 425cols[i] = new ApproximatedKernelMappingEstimator.ColumnOptions( 709_host = env.Register(nameof(ApproximatedKernelMappingEstimator));