-
Notifications
You must be signed in to change notification settings - Fork 7
Norm
Randall O'Reilly edited this page Sep 11, 2019
·
1 revision
The norm
package has misc helpful methods for computing norms of vectors and normalizing them.
It operates on raw slices of []float32
or []float64
for maximum generality, and skips over NaN values (missing data).
- Docs: norm
hc := dt.ColByName("Hidden").(*etensor.Float64)
norm.Binarize64(hc.Values, .5, 1, 0)