py_pcha icon indicating copy to clipboard operation
py_pcha copied to clipboard

Python package that implements the PCHA algorithm for Archetypal Analysis by Mørup et. al.

Results 3 py_pcha issues
Sort by recently updated
recently updated
newest added

https://github.com/ulfaslak/py_pcha/blob/f398d28c6a28c4a8121cb75443b221fc58fc10e4/py_pcha/PCHA.py#L153 Why are you using np.ceil here? Because it is possible to select and $i$ that is not in the data leading to an index error.

Thank you for your implementation. I was wondering if it is possible to use your implementation to calculate the `S2` for a new set of data (like validation data let's...

The furthest_sum procedure occasionally generates an initial index value that is exactly the length of `I`, which causes an `IndexError`. To fix it, I changed the index selection step to...