neat.NET.getReducedTree¶
-
NET.
getReducedTree
(loc_inds, indexing='NET eval')[source]¶ Construct a reduced tree where only the locations index by ``loc_inds’’ are retained
- Parameters
loc_inds (iterable of ints) – the indices of the locations that are to be retained
indexing ('NET eval' or 'locs') – if ‘NET eval’, indexing of
NETNode.loc_inds
will be taken to be the indices of locations for which the full NET is evaluated. Otherwise will be indices of the inputloc_inds