Trait/Object

water.support

H2OFrameSupport

Related Docs: object H2OFrameSupport | package support

Permalink

trait H2OFrameSupport extends JoinSupport

Support class to ease work with H2O Frames

Linear Supertypes
JoinSupport, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. H2OFrameSupport
  2. JoinSupport
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 allStringVecToCategorical[T <: Frame](fr: T): T

    Permalink

    Convert all strings to categorical/enum values inside the given Frame.

    Convert all strings to categorical/enum values inside the given Frame.

    Call fr.update() after it if you already have a lock or consider calling it inside withLockAndUpdate method which obtains the lock, updates the frame and releases the lock

    T

    H2O Frame type

    fr

    frame to update

    returns

    frame with string columns replaced by categoricals

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def columnsToCategorical[T <: Frame](fr: T, colNames: Array[String]): T

    Permalink

    Convert specific columns to categoricals

    Convert specific columns to categoricals

    T

    H2O Frame type

    fr

    frame to update

    colNames

    indices of the columns to turn into categoricals

    returns

    frame with specified columns replaced by categoricals

  8. def columnsToCategorical[T <: Frame](fr: T, colIndices: Array[Int]): T

    Permalink

    Convert specific columns to categoricals

    Convert specific columns to categoricals

    T

    H2O Frame type

    fr

    frame to update

    colIndices

    indices of the columns to turn into categoricals

    returns

    frame with specified columns replaced by categoricals

  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def innerJoin(left: Frame, right: Frame, method: JoinMethod = JoinMethod.AUTO): Frame

    Permalink

    Inner join two frames

    Inner join two frames

    left

    left frame

    right

    right frame

    method

    joining method

    returns

    new frame

    Definition Classes
    JoinSupport
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def join[T <: Frame](left: T, right: T, allX: Boolean = false, allY: Boolean = false, method: JoinMethod = JoinMethod.AUTO): Frame

    Permalink

    Join H2O frames

    Join H2O frames

    left

    left frame

    right

    right frame

    allX

    all X values

    allY

    all Y values

    method

    joining method

    Definition Classes
    JoinSupport
  17. def leftJoin(left: Frame, right: Frame, method: JoinMethod = JoinMethod.AUTO): Frame

    Permalink

    Left join two frames

    Left join two frames

    left

    left frame

    right

    right frame

    method

    joining method

    returns

    new frame

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def outerJoin(left: Frame, right: Frame, method: JoinMethod = JoinMethod.AUTO): Frame

    Permalink

    Outer join two frames

    Outer join two frames

    left

    left frame

    right

    right frame

    method

    joining method

    returns

    new frame

    Definition Classes
    JoinSupport
  22. def rightJoin(left: Frame, right: Frame, method: JoinMethod = JoinMethod.AUTO): Frame

    Permalink

    Right join two frames

    Right join two frames

    left

    left frame

    right

    right frame

    method

    joining method

    returns

    new frame

    Definition Classes
    JoinSupport
  23. def split[T <: Frame](fr: T, keys: Seq[String], ratios: Seq[Double]): Array[Frame]

    Permalink

    Split H2O Frame into multiple frames according to specified ratios.

    Split H2O Frame into multiple frames according to specified ratios. The output keys need to be specified in advance. This method keeps the order of the data

    T

    H2O Frame Type

    fr

    frame to split

    keys

    output keys

    ratios

    output ratios

    returns

    array of frames

  24. def splitFrame[T <: Frame](fr: T, keys: Seq[String], ratios: Seq[Double]): Array[Frame]

    Permalink

    Split & Shuffle H2O Frame into multiple frames according to specified ratios.

    Split & Shuffle H2O Frame into multiple frames according to specified ratios. The output keys need to be specified in advance. The order of the data is not kept.

    T

    H2O Frame Type

    fr

    frame to split

    keys

    output keys

    ratios

    output ratios

    returns

    array of frames

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

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withLockAndUpdate[T <: Frame](fr: T)(f: (T) ⇒ Any): T

    Permalink

    This method should be used whenever the Frame needs to be updated.

    This method should be used whenever the Frame needs to be updated. This method ensures to use proper locking mechanism.

    T

    H2O Frame Type

    fr

    frame to update

    f

    function to run on the frame

    returns

    returns the updated frame

Inherited from JoinSupport

Inherited from AnyRef

Inherited from Any

Ungrouped