code: def cluster_assignments(self):
          
          array = javabridge.call(self.jobject, "getClusterAssignments", "()[D")
          if array is None:
              return None
          else:
              return javabridge.get_env().get_double_array_elements(array)
docs: Return an array of cluster assignments corresponding to the most recent set of instances clustered.
  
          :return: the cluster assignments
          :rtype: ndarray