Regions

Combines the branches extracted by Trees and prioritizes those that form consistent clusters.

Main functions

Usage

from InsideForest import Regions

regions = Regions()
priority_ranges = regions.prio_ranges(branches, X)
clusterized, descriptions = regions.labels(X, priority_ranges, True)

Relevant parameters

The output of labels feeds into Labels and the methods in InsideForestRegionClusterer.