|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.apache.spark.mllib.rdd.RDDFunctions<T>
public class RDDFunctions<T>
Machine learning specific RDD functions.
Constructor Summary | |
---|---|
RDDFunctions(RDD<T> self,
scala.reflect.ClassTag<T> evidence$1)
|
Method Summary | ||
---|---|---|
static
|
fromRDD(RDD<T> rdd,
scala.reflect.ClassTag<T> evidence$3)
Implicit conversion from an RDD to RDDFunctions. |
|
RDD<Object> |
sliding(int windowSize)
Returns a RDD from grouping items of its parent RDD in fixed size blocks by passing a sliding window over them. |
|
|
treeAggregate(U zeroValue,
scala.Function2<U,T,U> seqOp,
scala.Function2<U,U,U> combOp,
int depth,
scala.reflect.ClassTag<U> evidence$2)
Deprecated. Use RDD.treeAggregate(U, scala.Function2, scala.Function2, int, scala.reflect.ClassTag) instead. |
|
T |
treeReduce(scala.Function2<T,T,T> f,
int depth)
Deprecated. Use RDD.treeReduce(scala.Function2 instead. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RDDFunctions(RDD<T> self, scala.reflect.ClassTag<T> evidence$1)
Method Detail |
---|
public static <T> RDDFunctions<T> fromRDD(RDD<T> rdd, scala.reflect.ClassTag<T> evidence$3)
public RDD<Object> sliding(int windowSize)
windowSize
- (undocumented)
public T treeReduce(scala.Function2<T,T,T> f, int depth)
RDD.treeReduce(scala.Function2, int)
instead.
depth
- suggested depth of the tree (default: 2)f
- (undocumented)
RDD.treeReduce(scala.Function2, int)
public <U> U treeAggregate(U zeroValue, scala.Function2<U,T,U> seqOp, scala.Function2<U,U,U> combOp, int depth, scala.reflect.ClassTag<U> evidence$2)
RDD.treeAggregate(U, scala.Function2, scala.Function2, int, scala.reflect.ClassTag)
instead.
depth
- suggested depth of the tree (default: 2)zeroValue
- (undocumented)seqOp
- (undocumented)combOp
- (undocumented)evidence$2
- (undocumented)
RDD.treeAggregate(U, scala.Function2, scala.Function2, int, scala.reflect.ClassTag)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |