List<Node<Label>> getLeafNodes(Address addr, Program program) {
		List<Node<Label>> leafNodes = new ArrayList<>(randomForest.getNumModels());
		List<Feature> potentialFeatureVector = ModelTrainingUtils.getFeatureVector(program, addr,
			preBytes, initialBytes, includeBitFeatures);
		ArrayExample<Label> example =
			new ArrayExample<>(RandomForestFunctionFinderPlugin.FUNC_START, potentialFeatureVector);
		SparseVector vec =
			SparseVector.createSparseVector(example, randomForest.getFeatureIDMap(), false);
		for (Model<Label> member : randomForest.getModels()) {
			TreeModel<Label> tree = (TreeModel<Label>) member;
			Node<Label> node = tree.getRoot();
			while (!node.isLeaf()) {
				node = node.getNextNode(vec);
			}
			leafNodes.add(node);
		}
		return leafNodes;
	}
Creates a feature vector for {@code addr}, runs it down each tree in the forest,
and records the leaf node reached.
@param addr (potential) function start
@param program program containing {@code addr}
@return list of leaf nodes
Ghidra/Extensions/MachineLearning/src/main/java/ghidra/machinelearning/functionfinding/SimilarStartsFinder.java