vd1371 / PyImbalReg

Pre-processing technics for imbalanced datasets in regression modelling
GNU General Public License v3.0
10 stars 0 forks source link

readme example not working #2

Closed fhaselbeck closed 3 years ago

fhaselbeck commented 3 years ago

Hi guys,

thanks for your work. I had some issues with using the library and I finally figured out that the example in the readme is wrong.

In the readme rel_func is set to None with a comment that the default relevance function will be used. Unfortunately, this is not true. If None is set, then no relevance function gets set in the constructor and the code crashes. rel_func='default' would be the right choice just as in the example files.

Would be good to correct this, so other people do not get strange problems when trying to use the lib.

Kind regards, Florian

vd1371 commented 3 years ago

Rectifies with many thanks. Please refer to fe455c619e0db44bc017cf0112c6ee514f566908