case class CMSParams[K](hashes: Seq[CMSHash[K]], eps: Double, delta: Double, maxExactCountOpt: Option[Int] = None) extends Product with Serializable
Configuration parameters for CMS.
- K
The type used to identify the elements to be counted.
- hashes
Pair-wise independent hashes functions. We need
N=depth
such functions (depth
can be derived fromdelta
).- eps
One-sided error bound on the error of each point query, i.e. frequency estimate.
- delta
A bound on the probability that a query estimate does not lie within some small interval (an interval that depends on
eps
) around the truth.- maxExactCountOpt
An Option parameter about how many exact counts a sparse CMS wants to keep.
- Alphabetic
- By Inheritance
- CMSParams
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CMSParams(hashes: Seq[CMSHash[K]], eps: Double, delta: Double, maxExactCountOpt: Option[Int] = None)
- hashes
Pair-wise independent hashes functions. We need
N=depth
such functions (depth
can be derived fromdelta
).- eps
One-sided error bound on the error of each point query, i.e. frequency estimate.
- delta
A bound on the probability that a query estimate does not lie within some small interval (an interval that depends on
eps
) around the truth.- maxExactCountOpt
An Option parameter about how many exact counts a sparse CMS wants to keep.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val delta: Double
- val eps: Double
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hashes: Seq[CMSHash[K]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxExactCountOpt: Option[Int]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()