Closed RokIvansek closed 8 years ago
Find an efficient way to use np.unique on an np.array generated by cartesian function. The current way of converting to strings and using map to glue values together takes way to long for big datasets.
This was solved using an implementation on: http://blog.biolab.si/2012/06/15/computing-joint-entropy-in-python/
Ironicaly it was on biolabs blog all along...
Find an efficient way to use np.unique on an np.array generated by cartesian function. The current way of converting to strings and using map to glue values together takes way to long for big datasets.