scikit-learn/scikit-learn — Issue #421: bug in preprocessing.normalize()
Author: dmaniloff
Created: 2011-11-01 19:09:02+00:00
State: open

line:
https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/preprocessing/__init__.py#L264
should probably be changed to:
X = X / norms

---
seems that coercion does not work the same way with the shortcut opertators (X.dype=='int32', norms.dtype=='float64')