CompareFunction

object CompareFunction extends Enumeration
  • absDiff: absolute difference c(x,y) = |x-y|

  • gaussSim: gaussian similarity c(x,y) = exp(-ln(2)zz/(s*s)) where z=x-y, and s is the value of attribute similarityScale (required in this case) in the ClusteringField

  • delta: c(x,y) = 0 if x=y, 1 else

  • equal: c(x,y) = 1 if x=y, 0 else

  • table: c(x,y) = lookup in similarity matrix

class Enumeration
trait Serializable
class Object
trait Matchable
class Any

Type members

Inherited classlikes

@SerialVersionUID(value = -3501153230598116017L)
protected class Val
Inherited from:
Enumeration
@SerialVersionUID(value = 7091335633555234129L)
abstract class Value
Inherited from:
Enumeration
Inherited from:
Enumeration
@SerialVersionUID(value = 7229671200427364242L)
class ValueSet
Inherited from:
Enumeration
@SerialVersionUID(value = 3L)
object ValueSet
Inherited from:
Enumeration

Value members

Inherited methods

final protected def Value(i: Int, name: String): Value
Inherited from:
Enumeration
final protected def Value(name: String): Value
Inherited from:
Enumeration
final protected def Value(i: Int): Value
Inherited from:
Enumeration
final protected def Value: Value
Inherited from:
Enumeration
final def apply(x: Int): Value
Inherited from:
Enumeration
final def maxId: Int
Inherited from:
Enumeration
protected def readResolve(): AnyRef
Inherited from:
Enumeration
override def toString(): String
Definition Classes
Enumeration -> Any
Inherited from:
Enumeration
Inherited from:
Enumeration
final def withName(s: String): Value
Inherited from:
Enumeration

Concrete fields