code: def distribution_for_instance(self, inst):
          
          pred = self.__distribution(inst.jobject)
          return javabridge.get_env().get_double_array_elements(pred)
docs: Peforms a prediction, returning the cluster distribution.
  
          :param inst: the Instance to get the cluster distribution for
          :type inst: Instance
          :return: the cluster distribution
          :rtype: float[]