This package implements normc()
, normr()
, normv()
functions to easily normalize columns, rows of 2-D arrays and vectors respectively.
This package uses sklearn.preprocessing.normalize
and forces the input array to have dtype as float. The input array has to be 2-D for normc()
and normr()
.
normc()
-> normalizes columns of a 2-D arraynormr()
-> normalizes rows of a 2-D arraynormv()
-> normalizes the 1-D array
pip install normalize_easy
, or- Download the repo and run
python setup.py install
pip install normalize_easy —-upgrade
- Cleaner code
- pep8 compliant