Commit Graph

10 Commits (master)

Author SHA1 Message Date
John Benediktsson 1c5d417100 math.vectors: rename "v." to "vdot" 2020-02-26 12:40:16 -08:00
John Benediktsson 2cbcacad88 core/basis/extra: update some tags.txt. 2020-02-26 10:57:08 -08:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson 86778b349c math.similarity: adding weighted-cosine-similarity. 2017-10-24 17:29:06 -07:00
John Benediktsson aa5623eede math: using ``v.`` instead of ``v* sum`` in a few places. 2017-10-24 12:26:39 -07:00
John Benediktsson 37902e3903 math.similarity: add another test for pearson-similarity. 2017-10-24 11:46:44 -07:00
John Benediktsson ee1bfc7fc2 math.similarity: change cosine-similarity to match math formula.
Specifically, instead of returning values [0,1], we now return [-1,1]:

* −1 meaning exactly opposite
* 1 meaning exactly the same
* 0 indicating orthogonality (decorrelation)
* in-between values indicating intermediate similarity or dissimilarity.
2017-10-24 11:45:03 -07:00
John Benediktsson 1e413edf3a math.statistics: rename full-* to population-*. 2012-11-06 07:16:20 -08:00
John Benediktsson bab0f663ae math.similarity: fix tests, not sure this is the correct definition. 2012-05-08 08:05:31 -07:00
John Benediktsson 6b8d802985 math.similarity: adding a few similarity metrics. 2012-05-03 10:57:30 -07:00