RandomOverSampler object has no attribute_validate_data; 2020年6月17日 / 1 min read View more blogs with the tag python Table of Contents #問題 #解決方法 問題 imbalanced-learn で fit_resample したところ、「‘RandomOverSampler’ object has no attribute ‘_validate_data’」のエラーが出てしまいました。 解決方法 調べたところ scikit-learn のバージョンが古いことが原因のようで、0.23.0 以上に上げたところエラーが出なくなりました。 めでたし!