def METHOD_NAME(self, data_inst):
    self.local_partyid = self.component_properties.local_partyid
    self.host_party_idlist = self.component_properties.host_party_idlist
    self.host_count = len(self.host_party_idlist)
    self.vss.key_pair()
    self.vss.set_share_amount(self.host_count)
    if not self.sum_cols:
        self.x = data_inst.mapValues(lambda x: x.features)
    else:
        self.x = data_inst.mapValues(self.select_data_by_idx)