I have two samples A and B, which differ considerably in size. A is by a factor of 10 larger than B, which is why I want to downsample it for the use in an machine learning appl