def build_features(self):
        self.add_features = True
        for sequence in self.dataset.seq_list:
           initial_features, transition_features, final_features, emission_features = \
               self.get_sequence_features(sequence)
           self.feature_list.append([initial_features, transition_features, final_features, emission_features])
#        self.nr_feats = len(self.feature_names)
        self.add_features = False
Generic function to build features for a given dataset.
dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/sequences/bak/abstract_feature_class.py/AbstractFeatureClass.build_features