water.fvec

H2OFrame

class H2OFrame extends Frame with FrameOps

Wrapper around Java H2O Frame to provide more Scala-like API.

Linear Supertypes
FrameOps, Frame, Lockable[Frame], Keyed[Frame], Iced[Frame], Externalizable, Serializable, Freezable[Frame], Cloneable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. H2OFrame
  2. FrameOps
  3. Frame
  4. Lockable
  5. Keyed
  6. Iced
  7. Externalizable
  8. Serializable
  9. Freezable
  10. Cloneable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new H2OFrame()

  2. new H2OFrame(parseSetup: ParseSetup, file: File)

    Create a new frame by parsing given file.

    Create a new frame by parsing given file.

    parseSetup

    setup for parser

    file

    cluster-local file to parse (has to be available on each node)

    returns

    a new frame containing parsed file data

  3. new H2OFrame(file: File)

    Create a new frame by parsing given file.

    Create a new frame by parsing given file.

    file

    cluster-local file to parse (has to be available on each node)

    returns

    a new frame containing parsed file data

  4. new H2OFrame(uris: URI*)

    Create a new frame by parsing given files.

    Create a new frame by parsing given files.

    uris

    URIs of files to parse

    returns

    new H2O frame containing parsed data

  5. new H2OFrame(parseSetup: ParseSetup, uris: URI*)

    Create a new frame by parsing given files.

    Create a new frame by parsing given files.

    parseSetup

    setup for parser

    uris

    URIs of files to parse

    returns

    new H2O frame containing parsed data

  6. new H2OFrame(key: String)

    Create a new H2OFrame based on existing Java Frame referenced by its key.

    Create a new H2OFrame based on existing Java Frame referenced by its key.

    key

    string representation of a reference to Java Frame

    returns

    new H2O frame

  7. new H2OFrame(key: Key[Frame])

    Create a new H2OFrame based on existing Java Frame referenced by its key.

    Create a new H2OFrame based on existing Java Frame referenced by its key.

    key

    reference to Java Frame

    returns

    new H2O frame

  8. new H2OFrame(fr: Frame)

    Create a new H2OFrame based on existing Java Frame.

    Create a new H2OFrame based on existing Java Frame.

    Simple field copy, so the Frames share underlying arrays. Recommended that the input Java Frame be dead after this call.

    fr

    Java frame

    returns

    new H2O frame with parsed data

Type Members

  1. class FrameVecRegistry extends AnyRef

    Definition Classes
    Frame
  2. type VecSelector = (String, Vec) ⇒ Boolean

    Functional type to select vectors.

    Functional type to select vectors.

    Definition Classes
    FrameOps
  3. type VecTransformation = (String, Vec) ⇒ Vec

    Functional type to transform vectors.

    Functional type to transform vectors.

    Definition Classes
    FrameOps

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 add(arg0: Frame): Frame

    Definition Classes
    Frame
  7. def add(arg0: String, arg1: Vec): Vec

    Definition Classes
    Frame
  8. def add(arg0: Array[String], arg1: Array[Vec], arg2: Int): Unit

    Definition Classes
    Frame
  9. def add(arg0: Array[String], arg1: Array[Vec]): Unit

    Definition Classes
    Frame
  10. final def anyVec(): Vec

    Definition Classes
    Frame
  11. def apply(transformation: (String, Vec) ⇒ Vec, selector: (String, Vec) ⇒ Boolean, removeVec: Boolean = true): H2OFrame

    Definition Classes
    FrameOps
  12. def apply(transformation: (String, Vec) ⇒ Vec, colNames: Array[String]): H2OFrame

    Definition Classes
    FrameOps
  13. def apply(transformation: (String, Vec) ⇒ Vec, colNames: Symbol*): H2OFrame

    Definition Classes
    FrameOps
  14. def apply(columnNames: Symbol*): H2OFrame

    Create a sub-frame based on the list of column names.

    Create a sub-frame based on the list of column names.

    columnNames

    name of columns which will compose a new frame

    returns

    a new H2O Frame composed of selected vectors

    Definition Classes
    FrameOps
  15. def apply(columnNames: Array[String]): H2OFrame

    Create a sub-frame based on the list of column names.

    Create a sub-frame based on the list of column names.

    columnNames

    name of columns which will compose a new frame

    returns

    a new H2O Frame composed of selected vectors

    Definition Classes
    FrameOps
  16. def asBytes(): Array[Byte]

    Definition Classes
    Iced → Freezable
  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def bulkRollups(): Array[Vec]

    Definition Classes
    Frame
  19. def byteSize(): Long

    Definition Classes
    Frame
  20. def cardinality(): Array[Int]

    Definition Classes
    Frame
  21. final def checksum(): Long

    Definition Classes
    Keyed
  22. def checksum_impl(): Long

    Attributes
    protected[water.fvec]
    Definition Classes
    Frame → Keyed
  23. final def clone(): Frame

    Definition Classes
    Iced → Freezable → AnyRef
  24. def colToEnum(cols: Array[Int]): Unit

    Transform columns in enum columns

    Transform columns in enum columns

    cols

    : Array[ Int ] containing all the indexes of enum columns

    Definition Classes
    FrameOps
  25. def colToEnum(cols: Array[String]): Unit

    Transform columns in enum columns

    Transform columns in enum columns

    cols

    : Array[ String ] containing all the names of enum columns

    Definition Classes
    FrameOps
  26. def copyOver(arg0: Frame): Unit

    Attributes
    protected[water]
    Definition Classes
    Iced
  27. def deepCopy(arg0: String): Frame

    Definition Classes
    Frame
  28. def deepSlice(arg0: Any, arg1: Any): Frame

    Definition Classes
    Frame
  29. final def delete(arg0: Key[Job], arg1: Futures, arg2: Boolean): Futures

    Definition Classes
    Lockable
  30. final def delete(arg0: Boolean): Unit

    Definition Classes
    Lockable
  31. final def delete(): Unit

    Definition Classes
    Lockable
  32. def delete_and_lock(arg0: Key[Job]): Frame

    Definition Classes
    Lockable
  33. def delete_and_lock(arg0: Job): Frame

    Definition Classes
    Lockable
  34. def delete_and_lock(): Frame

    Definition Classes
    Lockable
  35. def domains(): Array[Array[String]]

    Definition Classes
    Frame
  36. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  38. def extractFrame(arg0: Int, arg1: Int): Frame

    Definition Classes
    Frame
  39. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. def find(arg0: Array[String]): Array[Int]

    Definition Classes
    Frame
  41. def find(arg0: Key[_ <: Keyed[_ <: Keyed[_ <: AnyRef]]]): Int

    Definition Classes
    Frame
  42. def find(arg0: Vec): Int

    Definition Classes
    Frame
  43. def find(arg0: String): Int

    Definition Classes
    Frame
  44. def frameVecRegistry(): FrameVecRegistry

    Definition Classes
    Frame
  45. final def frozenType(): Int

    Definition Classes
    Iced → Freezable
  46. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  47. def hasInfs(): Boolean

    Definition Classes
    Frame
  48. def hasNAs(): Boolean

    Definition Classes
    Frame
  49. def hashCode(): Int

    Definition Classes
    H2OFrame → AnyRef → Any
  50. def insertVec(arg0: Int, arg1: String, arg2: Vec): Unit

    Definition Classes
    Frame
  51. def isCompatible(arg0: Frame): Boolean

    Definition Classes
    Frame
  52. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  53. def key: Key[Frame]

    Expose internal key via a method.

    Expose internal key via a method.

    The motivation is to simplify manipulation with frame from Py4J (pySparkling)

  54. def keys(): Array[Key[Vec]]

    Definition Classes
    Frame
  55. def keysList(): Iterable[Key[Vec]]

    Definition Classes
    Frame
  56. def lastVec(): Vec

    Definition Classes
    Frame
  57. def lastVecName(): String

    Definition Classes
    Frame
  58. def makeCompatible(arg0: Frame, arg1: Boolean): Array[Vec]

    Definition Classes
    Frame
  59. def makeCompatible(arg0: Frame): Array[Vec]

    Definition Classes
    Frame
  60. def makeSchema(): Class[FrameKeyV3]

    Definition Classes
    Frame → Keyed
  61. def means(): Array[Double]

    Definition Classes
    Frame
  62. def modes(): Array[Int]

    Definition Classes
    Frame
  63. def moveFirst(arg0: Array[Int]): Unit

    Definition Classes
    Frame
  64. def mults(): Array[Double]

    Definition Classes
    Frame
  65. def naCount(): Long

    Definition Classes
    Frame
  66. def naFraction(): Double

    Definition Classes
    Frame
  67. def name(arg0: Int): String

    Definition Classes
    Frame
  68. def names(): Array[String]

    Definition Classes
    Frame
  69. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  72. def numCols(): Int

    Definition Classes
    Frame
  73. def numRows(): Long

    Definition Classes
    Frame
  74. def postWrite(arg0: Futures): Futures

    Definition Classes
    Frame
  75. def prepend(arg0: String, arg1: Vec): Frame

    Definition Classes
    Frame
  76. def reOrder(arg0: Array[Int]): Unit

    Definition Classes
    Frame
  77. final def read(arg0: AutoBuffer): Frame

    Definition Classes
    Iced → Freezable
  78. def readAll_impl(arg0: AutoBuffer, arg1: Futures): Keyed

    Attributes
    protected[water.fvec]
    Definition Classes
    Frame → Keyed
  79. def readExternal(arg0: ObjectInput): Unit

    Definition Classes
    Iced → Externalizable
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  80. final def readJSON(arg0: AutoBuffer): Frame

    Definition Classes
    Iced → Freezable
  81. def read_lock(arg0: Key[Job]): Unit

    Definition Classes
    Lockable
  82. def reloadFromBytes(arg0: Array[Byte]): Frame

    Definition Classes
    Iced → Freezable
  83. final def reloadVecs(): Array[Vec]

    Definition Classes
    Frame
  84. final def remove(arg0: Int): Vec

    Definition Classes
    Frame
  85. def remove(arg0: Array[Int]): Array[Vec]

    Definition Classes
    Frame
  86. def remove(arg0: Array[String]): Frame

    Definition Classes
    Frame
  87. def remove(arg0: String): Vec

    Definition Classes
    Frame
  88. final def remove(arg0: Futures, arg1: Boolean): Futures

    Definition Classes
    Keyed
  89. final def remove(arg0: Futures): Futures

    Definition Classes
    Keyed
  90. final def remove(arg0: Boolean): Unit

    Definition Classes
    Keyed
  91. final def remove(): Unit

    Definition Classes
    Keyed
  92. def removeAll(): Array[Vec]

    Definition Classes
    Frame
  93. def remove_impl(arg0: Futures, arg1: Boolean): Futures

    Attributes
    protected[water.fvec]
    Definition Classes
    Frame → Keyed
  94. def rename(oldName: String, newName: String): Unit

    Rename a column of your DataFrame

    Rename a column of your DataFrame

    oldName

    : Old name

    newName

    : New name

    Definition Classes
    FrameOps
  95. def rename(index: Int, newName: String): Unit

    Rename a column of your DataFrame

    Rename a column of your DataFrame

    index

    : Index of the column to rename

    newName

    : New name

    Definition Classes
    FrameOps
  96. def replace(arg0: Int, arg1: Vec): Vec

    Definition Classes
    Frame
  97. def restructure(arg0: Array[String], arg1: Array[Vec], arg2: Int): Unit

    Definition Classes
    Frame
  98. def restructure(arg0: Array[String], arg1: Array[Vec]): Unit

    Definition Classes
    Frame
  99. final def retain(arg0: Futures, arg1: Set[Key]): Futures

    Definition Classes
    Frame
  100. final def setNames(arg0: Array[String]): Unit

    Definition Classes
    Frame
  101. def sort(arg0: Array[Int], arg1: Array[Int]): Frame

    Definition Classes
    Frame
  102. def sort(arg0: Array[Int]): Frame

    Definition Classes
    Frame
  103. def subframe(arg0: Int, arg1: Int): Frame

    Definition Classes
    Frame
  104. def subframe(arg0: Array[String]): Frame

    Definition Classes
    Frame
  105. def swap(arg0: Int, arg1: Int): Unit

    Definition Classes
    Frame
  106. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  107. def toCSV(arg0: CSVStreamParams): InputStream

    Definition Classes
    Frame
  108. def toCategoricalCol(arg0: String): Frame

    Definition Classes
    Frame
  109. def toCategoricalCol(arg0: Int): Frame

    Definition Classes
    Frame
  110. final def toJsonString(): String

    Definition Classes
    Iced
  111. def toString(): String

    Definition Classes
    H2OFrame → Frame → AnyRef → Any
  112. def toString(arg0: Long, arg1: Int, arg2: Boolean): String

    Definition Classes
    Frame
  113. def toString(arg0: Long, arg1: Int): String

    Definition Classes
    Frame
  114. def toTwoDimTable(arg0: Long, arg1: Int, arg2: Boolean): TwoDimTable

    Definition Classes
    Frame
  115. def toTwoDimTable(arg0: Long, arg1: Int): TwoDimTable

    Definition Classes
    Frame
  116. def toTwoDimTable(): TwoDimTable

    Definition Classes
    Frame
  117. def types(): Array[Byte]

    Definition Classes
    Frame
  118. def typesStr(): Array[String]

    Definition Classes
    Frame
  119. def uniquify(arg0: String): String

    Definition Classes
    Frame
  120. def unlock(arg0: Key[Job], arg1: Boolean): Frame

    Definition Classes
    Lockable
  121. def unlock(arg0: Key[Job]): Frame

    Definition Classes
    Lockable
  122. def unlock(arg0: Job): Frame

    Definition Classes
    Lockable
  123. def unlock(): Frame

    Definition Classes
    Lockable
  124. def unlock_all(): Unit

    Definition Classes
    Lockable
  125. def update(arg0: Key[Job[_ <: Keyed[_ <: Keyed[_ <: AnyRef]]]]): Frame

    Definition Classes
    Lockable
  126. def update(arg0: Job[_ <: Keyed[_ <: Keyed[_ <: AnyRef]]]): Frame

    Definition Classes
    Lockable
  127. def update(): Frame

    Definition Classes
    Lockable
  128. def vec(arg0: String): Vec

    Definition Classes
    Frame
  129. final def vec(arg0: Int): Vec

    Definition Classes
    Frame
  130. def vecs(arg0: Array[String]): Array[Vec]

    Definition Classes
    Frame
  131. final def vecs(arg0: Array[Int]): Array[Vec]

    Definition Classes
    Frame
  132. final def vecs(): Array[Vec]

    Definition Classes
    Frame
  133. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  136. final def write(arg0: AutoBuffer): AutoBuffer

    Definition Classes
    Iced → Freezable
  137. def writeAll(arg0: AutoBuffer): AutoBuffer

    Definition Classes
    Keyed
  138. def writeAll_impl(arg0: AutoBuffer): AutoBuffer

    Attributes
    protected[water.fvec]
    Definition Classes
    Frame → Keyed
  139. def writeExternal(arg0: ObjectOutput): Unit

    Definition Classes
    Iced → Externalizable
    Annotations
    @throws( classOf[java.io.IOException] )
  140. def writeJSON(arg0: AutoBuffer): AutoBuffer

    Definition Classes
    Iced → Freezable
  141. def write_lock(arg0: Key[Job]): Lockable[?0] forSome {type ?0 <: Lockable[?0]}

    Definition Classes
    Lockable
  142. def write_lock(arg0: Job): Lockable[?0] forSome {type ?0 <: Lockable[?0]}

    Definition Classes
    Lockable
  143. def write_lock(): Lockable[?0] forSome {type ?0 <: Lockable[?0]}

    Definition Classes
    Lockable

Deprecated Value Members

  1. def remove_impl(arg0: Futures): Futures

    Attributes
    protected[water]
    Definition Classes
    Keyed
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def toCSV(arg0: Boolean, arg1: Boolean): InputStream

    Definition Classes
    Frame
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from FrameOps

Inherited from Frame

Inherited from Lockable[Frame]

Inherited from Keyed[Frame]

Inherited from Iced[Frame]

Inherited from Externalizable

Inherited from Serializable

Inherited from Freezable[Frame]

Inherited from Cloneable

Inherited from AnyRef

Inherited from Any

Ungrouped