Class

com.alpine.result

ClusteringResult

Related Doc: package result

Permalink

case class ClusteringResult(labels: Seq[String], distances: Array[Double]) extends CategoricalResult with Product with Serializable

The value is the arg min of the distances.

Linear Supertypes
Serializable, Serializable, Product, Equals, CategoricalResult, MLResult, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusteringResult
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CategoricalResult
  7. MLResult
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClusteringResult(labels: Seq[String], distances: Array[Double])

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def details: Array[Double]

    Permalink

    A numeric detail generated by the model for each label.

    A numeric detail generated by the model for each label. Typically, this is a value which is minimized or maximized to determine the predicted value. e.g. confidence probabilities (to be maximised) or distance to the labelled cluster (to be minimised).

    This MUST be in the same order as the list returned by "labels".

    returns

    A list of numeric details corresponding to the labels (order must be preserved).

    Definition Classes
    ClusteringResultCategoricalResult
  7. val distances: Array[Double]

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(other: MLResult, tolerance: Double): Boolean

    Permalink

    Used in tests to compare results, within a given numerical tolerance range.

    Used in tests to compare results, within a given numerical tolerance range.

    Definition Classes
    ClusteringResultCategoricalResultMLResult
  10. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    CategoricalResult → AnyRef → Any
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. lazy val index: Int

    Permalink

    returns

    The index by which the prediction value may be found in the list of labels.

    Definition Classes
    ClusteringResultCategoricalResult
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val labels: Seq[String]

    Permalink

    returns

    The list of potential labels that can be generated by the model. e.g. ["yes", "no"]

    Definition Classes
    ClusteringResultCategoricalResult
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toMap: Map[String, Double]

    Permalink
    Definition Classes
    CategoricalResult
  21. lazy val value: String

    Permalink

    returns

    The simple value of the prediction. e.g. "yes" or "1".

    Definition Classes
    ClusteringResultCategoricalResultMLResult
  22. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CategoricalResult

Inherited from MLResult

Inherited from AnyRef

Inherited from Any

Ungrouped