feature_frequencies.H2OModel function

Retrieve the number of occurrences of each feature for given observations Available for GBM, Random Forest and Isolation Forest models.

Retrieve the number of occurrences of each feature for given observations Available for GBM, Random Forest and Isolation Forest models.

feature_frequencies.H2OModel(object, newdata, ...) h2o.feature_frequencies(object, newdata, ...)

Arguments

  • object: a fitted H2OModel object for which prediction is desired
  • newdata: An H2OFrame object in which to look for variables with which to predict.
  • ...: additional arguments to pass on.

Returns

Returns an H2OFrame contain per-feature frequencies on the predict path for each input row.

See Also

h2o.gbm and h2o.randomForest for model generation in h2o.

  • Maintainer: Tomas Fryda
  • License: Apache License (== 2.0)
  • Last published: 2024-01-11