class LabelledDocuments: def __init__(self, data, target, target_names): self.data=data self.target=target self.target_names=target_names