com.intel.analytics.bigdl.dataset.datamining

RowTransformer

object RowTransformer extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RowTransformer
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(schemas: Seq[RowTransformSchema], rowSize: Int = 0): RowTransformer

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def atomic(indices: Seq[Int], rowSize: Int): RowTransformer

    A RowTransformer which transform each selected columns to a size(1) Tensor.

    A RowTransformer which transform each selected columns to a size(1) Tensor. The keys of output Table are indices of selected columns.

    indices

    indices of selected columns

    rowSize

    size of Row transformed by this transformer

  9. def atomic(fieldNames: Seq[String]): RowTransformer

    A RowTransformer which transform each selected columns to a size(1) Tensor.

    A RowTransformer which transform each selected columns to a size(1) Tensor. The keys of output Table are fieldNames of selected columns.

    fieldNames

    field names of selected columns

  10. def atomicWithNumeric[T](atomicFields: Seq[String], numericFields: Map[String, Seq[String]])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RowTransformer

    A RowTransformer which contains both atomic schemas and numeric schemas.

    A RowTransformer which contains both atomic schemas and numeric schemas.

    atomicFields

    field names of selected columns

    numericFields

    Map<schemaKey, fieldNames of selected columns> of numeric fields

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def numeric[T](numericFields: Map[String, Seq[String]])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RowTransformer

    A RowTransformer which concat values of selected columns to one Tensor.

    A RowTransformer which concat values of selected columns to one Tensor. It means you will get a Table with keys of numericFields. Values of Table are Tensors concatenated by selected columns of the keys.

    numericFields

    Map<schemaKey, fieldNames of selected columns> of numeric fields

  22. def numeric[T](schemaKey: String = "all")(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RowTransformer

    A RowTransformer which concat values of all columns to one Tensor.

    A RowTransformer which concat values of all columns to one Tensor. It means you will get a Table with single key-value pair after transformation. The unique key is schemaKey. The unique value is a size(length of Row) Tensor.

    schemaKey

    key of the schema, default value is "all"

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped