Steve Kim
ae4d7d4d04
add similarity_search.py in machine_learning (#3864)
* add similarity_search.py in machine_learning
adding similarity_search algorithm in machine_learning
* fix pre-commit test, apply feedback
isort, codespell changed.
applied feedback(np -> np.ndarray)
* apply feedback
add type hints to euclidean method
* apply feedback
- changed euclidean's type hints
- changed few TypeError to ValueError
- changed range(len()) to enumerate()
- changed error's strings to f-string
- implemented without type()
- add euclidean's explanation
* apply feedback
- deleted try/catch in euclidean
- added error tests
- name change(value -> value_array)
* # doctest: +NORMALIZE_WHITESPACE
* Update machine_learning/similarity_search.py
* placate flake8
Co-authored-by: Christian Clauss <cclauss@me.com>
2020-11-13 15:26:17 +01:00
..
2020-10-24 16:07:27 +02:00
2020-09-28 19:42:36 +02:00
2020-09-28 19:42:36 +02:00
2020-10-21 12:46:14 +02:00
2020-07-10 15:36:51 +02:00
2020-09-10 10:31:26 +02:00
2020-07-06 09:44:19 +02:00
2020-09-30 10:38:00 +02:00
2020-06-16 10:09:19 +02:00
2020-10-21 12:46:14 +02:00
2020-07-06 09:44:19 +02:00
2020-07-06 09:44:19 +02:00
2020-11-11 08:05:11 +05:30
2020-09-10 10:31:26 +02:00
2020-07-06 09:44:19 +02:00
2020-07-06 09:44:19 +02:00
2020-07-06 09:44:19 +02:00
2020-07-06 09:44:19 +02:00
2020-07-06 09:44:19 +02:00
2020-09-30 15:23:34 +02:00
2020-07-06 09:44:19 +02:00
2020-11-13 15:26:17 +01:00
2020-07-06 09:44:19 +02:00
2020-09-02 19:33:12 +02:00