def finalize(self):
        if self._root is None:
            self._train()
        self._vectors = []
Removes training data from memory, keeping only the IG tree,
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/IGTree.finalize