Esempio n. 1
0
 def sort_items(items: numpy.ndarray) -> numpy.ndarray:
     maxinfo = irt.max_info_hpc(items)
     return irt.inf_hpc(maxinfo, items).argsort()
Esempio n. 2
0
 def sort_items(items: numpy.ndarray) -> numpy.ndarray:
     maxinfo = irt.max_info_hpc(items)
     return numpy.lexsort((irt.inf_hpc(maxinfo, items), maxinfo))
Esempio n. 3
0
def sort_items(item_params):
    """
    Returns ndarray of indices of items sorted by maximum item information.
    """
    return (-inf_hpc(max_info_hpc(item_params), item_params)).argsort()