 # DedupDemo

#### object DedupDemo

Linear Supertypes
AnyRef, Any
Ordering
1. Alphabetic
2. By inheritance
Inherited
1. DedupDemo
2. AnyRef
3. Any
1. Hide All
2. Show all
Visibility
1. Public
2. All

### Value Members

1. #### final def !=(arg0: AnyRef): Boolean

Definition Classes
AnyRef
2. #### final def !=(arg0: Any): Boolean

Definition Classes
Any
3. #### final def ##(): Int

Definition Classes
AnyRef → Any
4. #### final def ==(arg0: AnyRef): Boolean

Definition Classes
AnyRef
5. #### final def ==(arg0: Any): Boolean

Definition Classes
Any

7. #### final def asInstanceOf[T0]: T0

Definition Classes
Any
8. #### def clone(): AnyRef

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( ... )

14. #### final def eq(arg0: AnyRef): Boolean

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

Definition Classes
AnyRef → Any
16. #### def error(confusionMatrix: (Double, Double, Double, Double)): Double

Compute error rate (1 - accuracy), which is (TP + TN) / (P + N)

Compute error rate (1 - accuracy), which is (TP + TN) / (P + N)

confusionMatrix

the confusion matrix, a tuple of doubles for (TP, TN, FP, FN)

returns

the error rate as a double.

17. #### def f1(confusionMatrix: (Double, Double, Double, Double)): Double

Compute F-measure, which is 2TP / (2TP + FP + FN)

Compute F-measure, which is 2TP / (2TP + FP + FN)

confusionMatrix

the confusion matrix, a tuple of doubles for (TP, TN, FP, FN)

returns

the F-measure as a Double.

18. #### def finalize(): Unit

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( classOf[java.lang.Throwable] )

20. #### final def getClass(): Class[_]

Definition Classes
AnyRef → Any
21. #### def hashCode(): Int

Definition Classes
AnyRef → Any
22. #### final def isInstanceOf[T0]: Boolean

Definition Classes
Any

24. #### final def ne(arg0: AnyRef): Boolean

Definition Classes
AnyRef
25. #### final def notify(): Unit

Definition Classes
AnyRef
26. #### final def notifyAll(): Unit

Definition Classes
AnyRef

28. #### def precision(confusionMatrix: (Double, Double, Double, Double)): Double

Compute precision, which is TP / (TP + FP)

Compute precision, which is TP / (TP + FP)

confusionMatrix

the confusion matrix, a tuple of doubles for (TP, TN, FP, FN)

returns

the precision as a Double.

31. #### def recall(confusionMatrix: (Double, Double, Double, Double)): Double

Compute recall, which is TP / (TP + FN)

Compute recall, which is TP / (TP + FN)

confusionMatrix

the confusion matrix, a tuple of doubles for (TP, TN, FP, FN)

returns

the recall as a Double.

34. #### final def synchronized[T0](arg0: ⇒ T0): T0

Definition Classes
AnyRef

38. #### def toString(): String

Definition Classes
AnyRef → Any

41. #### final def wait(): Unit

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

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

Definition Classes
AnyRef
Annotations
@throws( ... )