H2O topBottomN
topBottomN function will will grab the top N percent or botom N percent of values of a column and return it in a H2OFrame.
h2o.topBottomN(x, column, nPercent, grabTopN)
x
: an H2OFramecolumn
: is a column name or column index to grab the top N percent value fromnPercent
: a top percentage values to grabgrabTopN
: if -1 grab bottom percentage, 1 grab top percentageAn H2OFrame with 2 columns: first column is the original row indices, second column contains the values