Learn R Programming

h2o (version 3.38.0.1)

.consolidate_varimps: Consolidate variable importances

Description

Consolidation works in the following way: 1. if varimp variable is in x => add it to consolidated_varimps 2. for all remaining varimp variables: 1. find the longest prefix of varimp variable that is in x and add it to the consolidated varimp 2. if there was no match, throw an error 3. normalize the consolidated_varimps so they sum up to 1

Usage

.consolidate_varimps(model)

Value

sorted named vector

Arguments

model

H2OModel