change base interface of LabeledMatrix