Search Results for

    Show / Hide Table of Contents

    Class KernelFactory

    Kernel Factory - singleton class. It maintains a list of Kernel names and their types

    Inheritance
    Object
    KernelFactory
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Distributions.Kernels
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public sealed class KernelFactory

    Properties

    Instance

    Kernel function factory singleton instance

    Declaration
    public static KernelFactory Instance { get; }
    Property Value
    Type Description
    KernelFactory

    Methods

    CreateKernelFunction(String)

    Creates a kernel function by specifying the kernel function name

    Declaration
    public IKernelFunctionWithParams CreateKernelFunction(string name)
    Parameters
    Type Name Description
    String name

    Name of the kernel function

    Returns
    Type Description
    IKernelFunctionWithParams

    RegisterKernelFunction(IKernelFunctionWithParams)

    Registers a kernel function. The factory is primed with stock kernel functions. This function allows clients to add in custom kernel functions

    Declaration
    public void RegisterKernelFunction(IKernelFunctionWithParams ikf)
    Parameters
    Type Name Description
    IKernelFunctionWithParams ikf

    Type instance

    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.