EpistasisLab / scikit-rebate

A scikit-learn-compatible Python implementation of ReBATE, a suite of Relief-based feature selection algorithms for Machine Learning.
https://EpistasisLab.github.io/scikit-rebate/
MIT License
408 stars 73 forks source link

Refactor: Do not import NumPy functions directly #8

Open rhiever opened 7 years ago

rhiever commented 7 years ago

We currently import several NumPy functions directly, e.g., here. Normally this isn't an issue, but min, max, mean, etc. override the standard definitions of these functions in Python.

We should refactor the code to import numpy as np then replace all of the NumPy function calls with np.<function name>.

kymckay commented 3 years ago

This appears to be done