Closed mbazzani closed 1 year ago
The type issues aint in my code
TODO: Decide whether to do fancier clip mixing ratios
This function isn't working for me
Your definition of sample does not work if two elements have the same probability. Also hyperbolic has the same problem if there are duplicate integers. Perhaps it would be much better to have Dict[int,float] instead of Dict[float,int]. Although you would have to manage adding duplicate keys instead of overwriting. Might have to be List[Tuple[float,int]]