Add weighting class
This adds the Weighting class to calculate sample_weights as a preprocessing method. I also did some general refactoring from the Undersampling class into the Resampling base class to avoid code duplication. I would like to hear your opinion on it.
Closes #64 (closed)
Edited by Frederic Renner