object H2OFrameSupport extends H2OFrameSupport
- Annotations
- @Deprecated
- Alphabetic
- By Inheritance
- H2OFrameSupport
- H2OFrameSupport
- JoinSupport
- Logging
- Serializable
- Serializable
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
allStringVecToCategorical[T <: Frame](fr: T): T
Convert all strings to categorical/enum values inside the given Frame.
Convert all strings to categorical/enum values inside the given Frame.
- T
H2O Frame type
- fr
frame to update
- returns
frame with string columns replaced by categoricals
- Definition Classes
- H2OFrameSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
columnsToCategorical[T <: Frame](fr: T, colNames: Array[String]): T
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
- Definition Classes
- H2OFrameSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
columnsToCategorical[T <: Frame](fr: T, colIndices: Array[Int]): T
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
- Definition Classes
- H2OFrameSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
innerJoin(left: Frame, right: Frame, method: JoinMethod = JoinMethod.AUTO): Frame
Inner join two frames
Inner join two frames
- left
left frame
- right
right frame
- method
joining method
- returns
new frame
- Definition Classes
- JoinSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
join[T <: Frame](left: T, right: T, allX: Boolean = false, allY: Boolean = false, method: JoinMethod = JoinMethod.AUTO): Frame
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
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
leftJoin(left: Frame, right: Frame, method: JoinMethod = JoinMethod.AUTO): Frame
Left join two frames
Left join two frames
- left
left frame
- right
right frame
- method
joining method
- returns
new frame
- Definition Classes
- JoinSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
outerJoin(left: Frame, right: Frame, method: JoinMethod = JoinMethod.AUTO): Frame
Outer join two frames
Outer join two frames
- left
left frame
- right
right frame
- method
joining method
- returns
new frame
- Definition Classes
- JoinSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
rightJoin(left: Frame, right: Frame, method: JoinMethod = JoinMethod.AUTO): Frame
Right join two frames
Right join two frames
- left
left frame
- right
right frame
- method
joining method
- returns
new frame
- Definition Classes
- JoinSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
split[T <: Frame](fr: T, keys: Seq[String], ratios: Seq[Double]): Array[Frame]
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.
- T
H2O Frame Type
- fr
frame to split
- keys
output keys
- ratios
output ratios
- returns
array of frames
- Definition Classes
- H2OFrameSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
splitFrame[T <: Frame](fr: T, keys: Seq[String], ratios: Seq[Double]): Array[Frame]
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.
- T
H2O Frame Type
- fr
frame to split
- keys
output keys
- ratios
output ratios
- returns
array of frames
- Definition Classes
- H2OFrameSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )
-
def
withLockAndUpdate[T <: Frame](fr: T)(f: (T) ⇒ Any): T
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
- Definition Classes
- H2OFrameSupport
- Annotations
- @DeprecatedMethod( ... , "3.32" )