abstract class StatsTileRDDMethods[K] extends MethodExtensions[RDD[(K, Tile)]]
- Alphabetic
- By Inheritance
- StatsTileRDDMethods
- MethodExtensions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
self: RDD[(K, Tile)]
- Definition Classes
- MethodExtensions
Concrete Value Members
- def averageByKey(partitioner: Option[Partitioner] = None): RDD[(K, Tile)]
- def classBreaks(numBreaks: Int): Array[Int]
- def classBreaksDouble(numBreaks: Int): Array[Double]
-
def
classBreaksExactInt(numBreaks: Int): Array[Int]
Gives class breaks using a histogram that uses exact counts of integer values.
Gives class breaks using a histogram that uses exact counts of integer values.
- Note
This cannot handle counts that are larger than Int.MaxValue, and should not be used with very large datasets whose counts will overflow. These histograms can get very large with a wide range of values.
-
def
histogram(numBuckets: Int, fraction: Double = 1.0, seed: Long = 33): Histogram[Double]
Compute the histogram of an RDD of Tile objects.
Compute the histogram of an RDD of Tile objects.
- numBuckets
The number of buckets that the histogram should have
- fraction
The fraction of Tile objects to sample (the default is 100%)
- seed
The seed of the RNG which determines which tiles to take the histograms of
- returns
A Histogram[Double]
-
def
histogram(): Histogram[Double]
Compute the histogram of an RDD of Tile objects.
Compute the histogram of an RDD of Tile objects.
- returns
A Histogram[Double]
-
def
histogramExactInt: Histogram[Int]
Gives a histogram that uses exact counts of integer values.
Gives a histogram that uses exact counts of integer values.
- Note
This cannot handle counts that are larger than Int.MaxValue, and should not be used with very large datasets whose counts will overflow. These histograms can get very large with a wide range of values.
- def minMax: (Int, Int)
- def minMaxDouble: (Double, Double)