astartes.samplers.interpolation package
Submodules
astartes.samplers.interpolation.kennardstone module
- class astartes.samplers.interpolation.kennardstone.KennardStone(X, y, labels, configs)
Bases:
AbstractSampler
astartes.samplers.interpolation.random_split module
- class astartes.samplers.interpolation.random_split.Random(X, y, labels, configs)
Bases:
AbstractSampler
astartes.samplers.interpolation.spxy module
Implements the Sample set Partitioning based on join X-Y distances algorithm as originally described by Saldanha and coworkers in “A method for calibration and validation subset partitioning” doi:10.1016/j.talanta.2005.03.025
This implementation has been validated against their original source code implementation, which can be found in the paper linked above. The corresponding unit tests reflect the expected output from the original implemenation. The breaking of ties is different compared to the original, but this is ultimately a minor and likely inconsequential difference.
- class astartes.samplers.interpolation.spxy.SPXY(X, y, labels, configs)
Bases:
AbstractSampler