build_habitat_extractor

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

build_habitat_extractor(spec: Any) → Any[source]

Build one habitat-level node: a leaf extractor or a combiner tree.

Parameters:

spec – Spec (or dict form) of one habitat feature family.

Returns:

A HabitatFeatureExtractor.