def phi(self, s, terminal):
        if terminal or self.features_num == 0:
            return np.zeros(self.features_num, 'bool')
        else:
            return self.phi_nonTerminal(s)
Walk all the clades of all the trees
dataset/ETHPy150Open rlpy/rlpy/rlpy/Representations/Representation.py/Representation.phi--crossover with--dataset/ETHPy150Open biocore/scikit-bio/skbio/tree/_majority_rule.py/_walk_clades