class DistributedClustering[GeolocatedItem] extends Serializable
Performs distributed clustering on a given collection of GeolocatedItem events.
The clustering is performed using a DBSCAN algorithm on each tile with a buffer zone of specified size. The clusters whose center lies on the buffer zone are rejected (as they are included in the output for a different tile).
Limitations:
- Due to the distribution scheme, this implementation returns incorrect results if there are clusters larger than the buffer zone.
- DBSCAN identifies clusters by density, so the algorithm works best if all clusters have approximately the same spatial density.
- Alphabetic
- By Inheritance
- DistributedClustering
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DistributedClustering(neighborhoodRadiusInMeters: Double, minNeighbors: Int, partitionBufferZoneInMeters: Double, partitionTileLevel: HereTileLevel = HereTileLevel(10))(implicit arg0: GeoCoordinateOperations[GeolocatedItem])
- neighborhoodRadiusInMeters
The radius within which the algorithm searches for the neighboring events
- minNeighbors
Minimal number of neighbors required to add the event to a cluster
- partitionBufferZoneInMeters
Width of the zone that extends around each tile in order to support clusters spanning across the tile borders The buffer zone should be set to a larger size than the expected size of clusters
- partitionTileLevel
The level of tiles used to distribute the clustering
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
- def apply(events: RDD[GeolocatedItem])(implicit classTag: ClassTag[GeolocatedItem]): RDD[ClusterType]
Apply clustering to the given events.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)