mikera / core.matrix

core.matrix : Multi-dimensional array programming API for Clojure
Other
699 stars 113 forks source link

Documentation for core/normalise could specify the type of normalization #318

Open shark8me opened 7 years ago

shark8me commented 7 years ago

The documentation for the core/normalise method could be more explicit, since there are multiple types of normalization used (in the context of machine learning). The current docstring says "Normalises a numerical vector (scales to unit length). Returns a new normalised vector.".

However there are multiple notions of normalization. Here are examples of normalization in other (similar) libraries:

Would you consider (for the sake of a PR) feature scaling methods such as those described here as being within the scope of core.matrix?

-- Thanks

mikera commented 7 years ago

Would probably need to be considered separately. Here's my initial thoughts: