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
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()