Class

io.github.mandar2812.dynaml.kernels

MultiplicativeCovariance

Related Doc: package kernels

Permalink

class MultiplicativeCovariance[Index] extends CompositeCovariance[Index]

A kernel formed by multiplication of two kernels k(.,.) = k1(.,.) * k2(.,.)

Linear Supertypes
CompositeCovariance[Index], LocalSVMKernel[Index], LocalScalarKernel[Index], CovarianceFunction[Index, Double, DenseMatrix[Double]], Kernel[Index, Double], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiplicativeCovariance
  2. CompositeCovariance
  3. LocalSVMKernel
  4. LocalScalarKernel
  5. CovarianceFunction
  6. Kernel
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiplicativeCovariance(firstKernel: LocalScalarKernel[Index], otherKernel: LocalScalarKernel[Index])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(c: Double): LocalScalarKernel[Index]

    Permalink

    Returns the kernel multiplied by a positive constant: k_new = k*c

    Returns the kernel multiplied by a positive constant: k_new = k*c

    Definition Classes
    LocalScalarKernel
  4. def *[T <: LocalScalarKernel[Index]](otherKernel: T)(implicit ev: ClassTag[Index]): CompositeCovariance[Index]

    Permalink

    Create composite kernel k = k1 * k2

    Create composite kernel k = k1 * k2

    otherKernel

    The kernel to multiply to the current one.

    returns

    The kernel k defined above.

    Definition Classes
    LocalScalarKernel
  5. def +[T <: LocalScalarKernel[Index]](otherKernel: T)(implicit ev: ClassTag[Index]): CompositeCovariance[Index]

    Permalink

    Create composite kernel k = k1 + k2

    Create composite kernel k = k1 + k2

    param otherKernel The kernel to add to the current one. return The kernel k defined above.

    Definition Classes
    LocalScalarKernel
  6. def :*[T1](otherKernel: LocalScalarKernel[T1]): KroneckerProductKernel[Index, T1]

    Permalink

    Construct the kronecker product kernel

    Construct the kronecker product kernel

    Definition Classes
    LocalScalarKernel
  7. def :+[T1](otherKernel: LocalScalarKernel[T1]): CompositeCovariance[(Index, T1)]

    Permalink
    Definition Classes
    LocalScalarKernel
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def >[K <: GenericRBFKernel[Index]](otherKernel: K): CompositeCovariance[Index]

    Permalink

    Construct a 2 layer kernel K = k1 > rbf

    Construct a 2 layer kernel K = k1 > rbf

    Definition Classes
    LocalScalarKernel
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def asPipe: DataPipe[Map[String, Double], LocalScalarKernel[Index]]

    Permalink

    Get a pipeline which when given a particular configuration of hyper-parameters returns this kernel function set with that configuration.

    Get a pipeline which when given a particular configuration of hyper-parameters returns this kernel function set with that configuration.

    Definition Classes
    LocalScalarKernel
  12. def block(h: String*): Unit

    Permalink
  13. def block_all_hyper_parameters: Unit

    Permalink
    Definition Classes
    CovarianceFunction
  14. var blocked_hyper_parameters: List[String]

    Permalink
    Definition Classes
    CovarianceFunction
  15. def buildBlockedCrossKernelMatrix[S <: Seq[Index]](dataset1: S, dataset2: S): PartitionedMatrix

    Permalink
    Definition Classes
    LocalScalarKernel
  16. def buildBlockedKernelMatrix[S <: Seq[Index]](mappedData: S, length: Long): PartitionedPSDMatrix

    Permalink
    Definition Classes
    LocalScalarKernel
  17. def buildCrossKernelMatrix[S <: Seq[Index]](dataset1: S, dataset2: S): DenseMatrix[Double]

    Permalink
  18. def buildKernelMatrix[S <: Seq[Index]](mappedData: S, length: Int): KernelMatrix[DenseMatrix[Double]]

    Permalink
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. var colBlocking: Int

    Permalink
    Definition Classes
    LocalScalarKernel
  21. def effective_hyper_parameters: List[String]

    Permalink
    Definition Classes
    CovarianceFunction
  22. def effective_state: Map[String, Double]

    Permalink
    Definition Classes
    CovarianceFunction
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  25. def evaluate(x: Index, y: Index): Double

    Permalink
    Definition Classes
    CovarianceFunctionKernel
  26. def evaluateAt(config: Map[String, Double])(x: Index, y: Index): Double

    Permalink
  27. val fID: String

    Permalink
  28. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. val firstKernel: LocalScalarKernel[Index]

    Permalink
  30. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  31. def getKernelConfigs(config: Map[String, Double]): (Map[String, Double], Map[String, Double])

    Permalink
    Attributes
    protected
  32. def getKernelHyp(s: Seq[String]): (Seq[String], Seq[String])

    Permalink
    Attributes
    protected
  33. def gradient(x: Index, y: Index): Map[String, Double]

    Permalink
    Definition Classes
    CovarianceFunction
  34. def gradientAt(config: Map[String, Double])(x: Index, y: Index): Map[String, Double]

    Permalink
  35. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  36. val hyper_parameters: List[String]

    Permalink
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. val otherKernel: LocalScalarKernel[Index]

    Permalink
  42. var rowBlocking: Int

    Permalink
    Definition Classes
    LocalScalarKernel
  43. val sID: String

    Permalink
  44. def setBlockSizes(s: (Int, Int)): Unit

    Permalink
    Definition Classes
    LocalScalarKernel
  45. def setHyperParameters(h: Map[String, Double]): MultiplicativeCovariance.this.type

    Permalink
  46. var state: Map[String, Double]

    Permalink
    Definition Classes
    CovarianceFunction
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CompositeCovariance[Index]

Inherited from LocalSVMKernel[Index]

Inherited from LocalScalarKernel[Index]

Inherited from CovarianceFunction[Index, Double, DenseMatrix[Double]]

Inherited from Kernel[Index, Double]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped