if feature_indices is not None:
                w = SparseVector()
                for index in self.averaged_weights:
                    w[
                        feature_indices.get_label_name(index)