We can run the TomekLinks sampling to remove the corresponding
samples. If sampling_strategy='auto' only the sample from the majority
class will be removed. If sampling_strategy='all' both samples will be
/home/glemaitre/Documents/packages/imbalanced-learn/examples/under-sampling/plot_illustration_tomek_links.py:99: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
Total running time of the script: ( 0 minutes 0.482 seconds)