adding field importance for ensembles, new get_resource_type checks and threshold combinator