Class/Object

water.fvec

H2OFrame

Related Docs: object H2OFrame | package fvec

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new H2OFrame()

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

    Permalink

    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)

    Permalink

    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*)

    Permalink

    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*)

    Permalink

    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)

    Permalink

    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])

    Permalink

    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)

    Permalink

    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

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

    Permalink

    Functional type to select vectors.

    Functional type to select vectors.

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

    Permalink

    Functional type to transform vectors.

    Functional type to transform vectors.

    Definition Classes
    FrameOps

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(arg0: Frame): Frame

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

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

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

    Permalink
    Definition Classes
    Frame
  8. final def anyVec(): Vec

    Permalink
    Definition Classes
    Frame
  9. def apply(transformation: VecTransformation, selector: VecSelector, removeVec: Boolean = true): H2OFrame

    Permalink
    Definition Classes
    FrameOps
  10. def apply(transformation: VecTransformation, colNames: Array[String]): H2OFrame

    Permalink
    Definition Classes
    FrameOps
  11. def apply(transformation: VecTransformation, colNames: Symbol*): H2OFrame

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

    Permalink

    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
  13. def apply(columnNames: Array[String]): H2OFrame

    Permalink

    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
  14. def asBytes(): Array[Byte]

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

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

    Permalink
    Definition Classes
    Frame
  17. def byteSize(): Long

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

    Permalink
    Definition Classes
    Frame
  19. final def checksum(): Long

    Permalink
    Definition Classes
    Keyed
  20. def checksum_impl(): Long

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

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

    Permalink

    Transform columns in enum columns

    Transform columns in enum columns

    cols

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

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

    Permalink

    Transform columns in enum columns

    Transform columns in enum columns

    cols

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

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

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

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

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

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

    Permalink
    Definition Classes
    Lockable
  29. final def delete(): Unit

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

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

    Permalink
    Definition Classes
    Lockable
  32. def delete_and_lock(): Frame

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

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

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

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

    Permalink
    Definition Classes
    Frame
  37. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Frame
  40. def frameVecRegistry(): FrameVecRegistry

    Permalink
    Definition Classes
    Frame
  41. final def frozenType(): Int

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

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

    Permalink
    Definition Classes
    Frame
  44. def hasNAs(): Boolean

    Permalink
    Definition Classes
    Frame
  45. def hashCode(): Int

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

    Permalink
    Definition Classes
    Frame
  47. def isCompatible(arg0: Frame): Boolean

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

    Permalink
    Definition Classes
    Any
  49. def key: Key[Frame]

    Permalink

    Expose internal key via a method.

    Expose internal key via a method.

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

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

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

    Permalink
    Definition Classes
    Frame
  52. def lastVec(): Vec

    Permalink
    Definition Classes
    Frame
  53. def lastVecName(): String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Frame
  61. def naCount(): Long

    Permalink
    Definition Classes
    Frame
  62. def naFraction(): Double

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

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

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

    Permalink
    Definition Classes
    AnyRef
  66. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  67. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  68. def numCols(): Int

    Permalink
    Definition Classes
    Frame
  69. def numRows(): Long

    Permalink
    Definition Classes
    Frame
  70. def postWrite(arg0: Futures): Futures

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Keyed
  87. final def remove(): Unit

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

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

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

    Permalink

    Rename a column of your DataFrame

    Rename a column of your DataFrame

    oldName

    : Old name

    newName

    : New name

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

    Permalink

    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
  92. def replace(arg0: Int, arg1: Vec): Vec

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Frame
  104. def toCategoricalCol(arg0: String): Frame

    Permalink
    Definition Classes
    Frame
  105. def toCategoricalCol(arg0: Int): Frame

    Permalink
    Definition Classes
    Frame
  106. final def toJsonString(): String

    Permalink
    Definition Classes
    Iced
  107. def toString(): String

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

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

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

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

    Permalink
    Definition Classes
    Frame
  112. def toTwoDimTable(): TwoDimTable

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

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

    Permalink
    Definition Classes
    Frame
  115. def uniquify(arg0: String): String

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

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

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

    Permalink
    Definition Classes
    Lockable
  119. def unlock(): Frame

    Permalink
    Definition Classes
    Lockable
  120. def unlock_all(): Unit

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

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

    Permalink
    Definition Classes
    Lockable
  123. def update(): Frame

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

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

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

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

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

    Permalink
    Definition Classes
    Frame
  129. final def wait(): Unit

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

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

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

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

    Permalink
    Definition Classes
    Keyed
  134. def writeAll_impl(arg0: AutoBuffer): AutoBuffer

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

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

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

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

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

    Permalink
    Definition Classes
    Lockable

Deprecated Value Members

  1. def find(arg0: Key[_ <: Keyed[_ <: Keyed[_ <: AnyRef]]]): Int

    Permalink
    Definition Classes
    Frame
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def find(arg0: Vec): Int

    Permalink
    Definition Classes
    Frame
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. def remove_impl(arg0: Futures): Futures

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

    (Since version ) see corresponding Javadoc for more information.

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

    Permalink
    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