Trait

io.github.mandar2812.dynaml.models

SubsampledDualLSSVM

Related Doc: package models

Permalink

trait SubsampledDualLSSVM[G, L] extends KernelizedModel[G, L, DenseVector[Double], DenseVector[Double], Double, Int, Int]

Linear Supertypes
KernelizedModel[G, L, DenseVector[Double], DenseVector[Double], Double, Int, Int], EvaluableModel[DenseVector[Double], Double], GloballyOptimizable, LinearModel[G, DenseVector[Double], DenseVector[Double], Double, L], ParameterizedLearner[G, DenseVector[Double], DenseVector[Double], Double, L], Model[G, DenseVector[Double], Double], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubsampledDualLSSVM
  2. KernelizedModel
  3. EvaluableModel
  4. GloballyOptimizable
  5. LinearModel
  6. ParameterizedLearner
  7. Model
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def clearParameters(): Unit

    Permalink
    Definition Classes
    LinearModel
  2. abstract val effectivedims: Int

    Permalink
    Attributes
    protected
  3. abstract def energy(h: Map[String, Double], options: Map[String, String] = Map()): Double

    Permalink

    Calculates the energy of the configuration, in most global optimization algorithms we aim to find an approximate value of the hyper-parameters such that this function is minimized.

    Calculates the energy of the configuration, in most global optimization algorithms we aim to find an approximate value of the hyper-parameters such that this function is minimized.

    h

    The value of the hyper-parameters in the configuration space

    options

    Optional parameters about configuration

    returns

    Configuration Energy E(h)

    Definition Classes
    GloballyOptimizable
  4. abstract def evaluate(config: Map[String, String]): Metrics[Double]

    Permalink
    Definition Classes
    EvaluableModel
  5. abstract def evaluateFold(params: DenseVector[Double])(test_data_set: L)(task: String): Metrics[Double]

    Permalink
    Definition Classes
    KernelizedModel
  6. abstract val g: G

    Permalink

    The training data

    The training data

    Attributes
    protected
    Definition Classes
    Model
  7. abstract def getXYEdges: L

    Permalink
    Definition Classes
    KernelizedModel
  8. abstract def initParams(): DenseVector[Double]

    Permalink
    Definition Classes
    ParameterizedLearner
  9. abstract val nPoints: Long

    Permalink
    Attributes
    protected
    Definition Classes
    KernelizedModel
  10. abstract val optimizer: RegularizedOptimizer[DenseVector[Double], DenseVector[Double], Double, L]

    Permalink
    Attributes
    protected
    Definition Classes
    ParameterizedLearner
  11. abstract def optimumSubset(M: Int): Unit

    Permalink

    Calculate an approximation to the subset of size M with the maximum entropy.

    Calculate an approximation to the subset of size M with the maximum entropy.

    Definition Classes
    KernelizedModel
  12. abstract val params: DenseVector[Double]

    Permalink
    Attributes
    protected
    Definition Classes
    ParameterizedLearner
  13. abstract def predict(point: DenseVector[Double]): Double

    Permalink

    Predict the value of the target variable given a point.

    Predict the value of the target variable given a point.

    Definition Classes
    Model
  14. abstract def trainTest(test: List[Long]): (L, L)

    Permalink
    Definition Classes
    KernelizedModel

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _current_state: Map[String, Double]

    Permalink
    Definition Classes
    GloballyOptimizable
  5. def _hyper_parameters: List[String]

    Permalink
    Definition Classes
    GloballyOptimizable
  6. def applyFeatureMap: Unit

    Permalink
    Definition Classes
    SubsampledDualLSSVMKernelizedModel
  7. def applyKernel(kern: SVMKernel[DenseMatrix[Double]], M: Int = this.points.length): Unit

    Permalink

    Implements the changes in the model after application of a given kernel.

    Implements the changes in the model after application of a given kernel.

    It calculates

    1) Eigen spectrum of the kernel

    2) Calculates an approximation to the non linear feature map induced by the application of the kernel

    M

    The number of prototypes to select in order to approximate the kernel matrix.

    Definition Classes
    SubsampledDualLSSVMKernelizedModel
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. var b: DenseVector[Double]

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def crossvalidate(folds: Int, reg: Double, optionalStateFlag: Boolean = false): (Double, Double, Double)

    Permalink
    Definition Classes
    KernelizedModel
  12. var current_state: Map[String, Double]

    Permalink

    A Map which stores the current state of the system.

    A Map which stores the current state of the system.

    Attributes
    protected
    Definition Classes
    KernelizedModelGloballyOptimizable
  13. def data: G

    Permalink
    Definition Classes
    Model
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. var featureMap: (DenseVector[Double]) ⇒ DenseVector[Double]

    Permalink

    The non linear feature mapping implicitly defined by the kernel applied, this is initialized to an identity map.

    The non linear feature mapping implicitly defined by the kernel applied, this is initialized to an identity map.

    Definition Classes
    LinearModel
  17. var feature_a: DenseMatrix[Double]

    Permalink
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. var hyper_parameters: List[String]

    Permalink

    Stores the names of the hyper-parameters

    Stores the names of the hyper-parameters

    Attributes
    protected
    Definition Classes
    KernelizedModelGloballyOptimizable
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. var kernel: SVMKernel[DenseMatrix[Double]]

    Permalink
  24. def learn(): Unit

    Permalink

    Learn the parameters of the model.

    Learn the parameters of the model.

    Definition Classes
    SubsampledDualLSSVMParameterizedLearner
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def npoints: Long

    Permalink
    Definition Classes
    KernelizedModel
  29. def parameters(): DenseVector[Double]

    Permalink

    Get the value of the parameters of the model.

    Get the value of the parameters of the model.

    Definition Classes
    ParameterizedLearner
  30. def persist(state: Map[String, Double]): Unit

    Permalink
    Definition Classes
    GloballyOptimizable
  31. var points: List[Long]

    Permalink

    This variable stores the indexes of the prototype points of the data set.

    This variable stores the indexes of the prototype points of the data set.

    Attributes
    protected
    Definition Classes
    KernelizedModel
  32. def setBatchFraction(f: Double): SubsampledDualLSSVM.this.type

    Permalink
    Definition Classes
    ParameterizedLearner
  33. def setLearningRate(alpha: Double): SubsampledDualLSSVM.this.type

    Permalink
    Definition Classes
    ParameterizedLearner
  34. def setMaxIterations(i: Int): SubsampledDualLSSVM.this.type

    Permalink
    Definition Classes
    ParameterizedLearner
  35. def setRegParam(r: Double): SubsampledDualLSSVM.this.type

    Permalink
    Definition Classes
    ParameterizedLearner
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. val task: String

    Permalink
    Attributes
    protected
    Definition Classes
    KernelizedModel
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. def updateParameters(param: DenseVector[Double]): Unit

    Permalink
    Definition Classes
    ParameterizedLearner
  40. final def wait(): Unit

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

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

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

Inherited from KernelizedModel[G, L, DenseVector[Double], DenseVector[Double], Double, Int, Int]

Inherited from EvaluableModel[DenseVector[Double], Double]

Inherited from GloballyOptimizable

Inherited from LinearModel[G, DenseVector[Double], DenseVector[Double], Double, L]

Inherited from ParameterizedLearner[G, DenseVector[Double], DenseVector[Double], Double, L]

Inherited from Model[G, DenseVector[Double], Double]

Inherited from AnyRef

Inherited from Any

Ungrouped