h2o (version 3.28.0.2)

h2o.topN: H2O topN

Description

Extract the top N percent of values of a column and return it in a H2OFrame.

Usage

h2o.topN(x, column, nPercent)

Arguments

x

an H2OFrame

column

is a column name or column index to grab the top N percent value from

nPercent

is a top percentage value to grab

Value

An H2OFrame with 2 columns. The first column is the original row indices, second column contains the topN values