neat.NET.get_reduced_tree¶
- NET.get_reduced_tree(loc_idxs, indexing='NET eval')[source]¶
Construct a reduced tree where only the locations index by ``loc_idxs’’ are retained
- Parameters:
loc_idxs (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_idxswill be taken to be the indices of locations for which the full NET is evaluated. Otherwise will be indices of the inputloc_idxs