object DataSet
Common used DataSet builder.
- Alphabetic
- By Inheritance
- DataSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
array[T](localData: Array[T], sc: SparkContext)(implicit arg0: ClassTag[T]): DistributedDataSet[T]
Wrap an array as a distributed DataSet.
-
def
array[T](data: Array[T]): LocalArrayDataSet[T]
Wrap an array as a DataSet.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.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()
- def imageFrame(imageFrame: ImageFrame): DataSet[ImageFeature]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: Logger
-
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
rdd[T](data: RDD[T], partitionNum: Int = Engine.nodeNumber())(implicit arg0: ClassTag[T]): DistributedDataSet[T]
Wrap a RDD as a DataSet.
Wrap a RDD as a DataSet.
- partitionNum
repartition data rdd to partition number, default node number.
-
def
sortData[T](data: Array[T], isInOrder: Boolean)(implicit arg0: ClassTag[T]): Array[T]
sort data from small to big, only support Sample data type.
sort data from small to big, only support Sample data type.
- data
original data
- isInOrder
whether to sort data by ascending order
-
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
- @native() @throws( ... )
-
object
ImageFolder
Generate a DataSet from a local image folder.
Generate a DataSet from a local image folder. The image folder should have two levels. The first level is class folders, and the second level is images. All images belong to a same class should be put into the same class folder. So each image in the path is labeled by the folder it belongs.
-
object
SeqFileFolder
Create a DataSet from a Hadoop sequence file folder.