ydb icon indicating copy to clipboard operation
ydb copied to clipboard

New formats in Knn::ToBinaryString

Open azevaykin opened this issue 1 year ago • 6 comments

Changelog entry

Previously Knn::ToBinaryString serialized float vector as is.

Now format string can be specified in order to choose serialization format. Supported formats:

  • float - save float as is (default);
  • byte - save as Uint8, all the elements are casted to integers in [0;255] range;
  • bit - save as one bit per element.

New distance function (only for bit format):

  • ManhattanDistance

Changelog category

  • Experimental feature

Additional information

...

azevaykin avatar May 12 '24 13:05 azevaykin

:white_circle: 2024-05-12 13:38:21 UTC Pre-commit check for 215d7b200e2caa8425037ffdc673730ad0a2eb1b has started. :white_circle: 2024-05-12 13:38:24 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-12 13:39:40 UTC Build successful.

github-actions[bot] avatar May 12 '24 13:05 github-actions[bot]

:white_circle: 2024-05-12 13:38:35 UTC Pre-commit check for 215d7b200e2caa8425037ffdc673730ad0a2eb1b has started. :white_circle: 2024-05-12 13:38:38 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-12 13:40:03 UTC Build successful. :white_circle: 2024-05-12 13:41:31 UTC Tests are running... :green_circle: 2024-05-12 14:18:44 UTC Tests successful.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2885 2854 0 0 29 2

github-actions[bot] avatar May 12 '24 13:05 github-actions[bot]

:white_circle: 2024-05-12 13:38:36 UTC Pre-commit check for 215d7b200e2caa8425037ffdc673730ad0a2eb1b has started. :white_circle: 2024-05-12 13:38:38 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-12 13:40:00 UTC Build successful. :white_circle: 2024-05-12 13:41:31 UTC Tests are running... :green_circle: 2024-05-12 14:26:41 UTC Tests successful.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2011 1987 0 0 20 4

github-actions[bot] avatar May 12 '24 13:05 github-actions[bot]

:white_circle: 2024-05-12 19:27:14 UTC Pre-commit check for 92162cba2770a92c8e637b0ffea08b41ddf57bca has started. :white_circle: 2024-05-12 19:27:16 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-12 19:28:37 UTC Build successful.

github-actions[bot] avatar May 12 '24 19:05 github-actions[bot]

:white_circle: 2024-05-12 19:27:23 UTC Pre-commit check for 92162cba2770a92c8e637b0ffea08b41ddf57bca has started. :white_circle: 2024-05-12 19:27:26 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-12 19:28:46 UTC Build successful. :white_circle: 2024-05-12 19:30:15 UTC Tests are running... :green_circle: 2024-05-12 20:16:51 UTC Tests successful.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2013 1986 0 0 20 7

github-actions[bot] avatar May 12 '24 19:05 github-actions[bot]

:white_circle: 2024-05-12 19:27:46 UTC Pre-commit check for 92162cba2770a92c8e637b0ffea08b41ddf57bca has started. :white_circle: 2024-05-12 19:27:48 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-12 19:29:08 UTC Build successful. :white_circle: 2024-05-12 19:30:34 UTC Tests are running... :red_circle: 2024-05-12 20:07:03 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2885 2853 0 1 29 2

github-actions[bot] avatar May 12 '24 19:05 github-actions[bot]

:white_circle: 2024-05-14 19:03:56 UTC Pre-commit check for 9411e2f6747e3a7cf1a2b96aee2a61cf4b413901 has started. :white_circle: 2024-05-14 19:03:58 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-14 19:04:58 UTC Build successful. :white_circle: 2024-05-14 19:06:18 UTC Tests are running... :red_circle: 2024-05-14 19:42:39 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2887 2854 0 3 29 1

github-actions[bot] avatar May 14 '24 19:05 github-actions[bot]

:white_circle: 2024-05-14 19:03:57 UTC Pre-commit check for 9411e2f6747e3a7cf1a2b96aee2a61cf4b413901 has started. :white_circle: 2024-05-14 19:03:58 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-14 19:05:05 UTC Build successful. :white_circle: 2024-05-14 19:06:24 UTC Tests are running... :red_circle: 2024-05-14 19:53:17 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2012 1987 0 1 20 4

github-actions[bot] avatar May 14 '24 19:05 github-actions[bot]

:white_circle: 2024-05-14 19:05:59 UTC Pre-commit check for 9411e2f6747e3a7cf1a2b96aee2a61cf4b413901 has started. :white_circle: 2024-05-14 19:06:01 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-14 19:07:25 UTC Build successful.

github-actions[bot] avatar May 14 '24 19:05 github-actions[bot]

:white_circle: 2024-05-17 12:59:58 UTC Pre-commit check for 50fea86d31a00080479aa991a95204e60c5aa932 has started. :white_circle: 2024-05-17 13:00:01 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-17 13:01:16 UTC Build successful. :black_circle: 2024-05-17 13:01:28 UTC Check cancelled

github-actions[bot] avatar May 17 '24 12:05 github-actions[bot]

:white_circle: 2024-05-17 12:59:59 UTC Pre-commit check for 50fea86d31a00080479aa991a95204e60c5aa932 has started. :white_circle: 2024-05-17 13:00:01 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-17 13:01:09 UTC Build successful. :black_circle: 2024-05-17 13:01:47 UTC Check cancelled

github-actions[bot] avatar May 17 '24 12:05 github-actions[bot]

:white_circle: 2024-05-17 13:00:00 UTC Pre-commit check for 50fea86d31a00080479aa991a95204e60c5aa932 has started. :white_circle: 2024-05-17 13:00:02 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-17 13:01:10 UTC Build successful. :black_circle: 2024-05-17 13:01:48 UTC Check cancelled

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:03:00 UTC Pre-commit check for ec7e57c28b3049e7cc71a6d42f1fec48500854fc has started. :white_circle: 2024-05-17 13:03:01 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-17 13:04:11 UTC Build successful. :white_circle: 2024-05-17 13:05:30 UTC Tests are running... :red_circle: 2024-05-17 13:07:48 UTC Test run completed, no test results found for commit f4473200e07f7a01b4fd3265bf1248a94e2db7b0. Please check build logs. :black_circle: 2024-05-17 13:07:51 UTC Check cancelled

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:03:04 UTC Pre-commit check for ec7e57c28b3049e7cc71a6d42f1fec48500854fc has started. :white_circle: 2024-05-17 13:03:06 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-17 13:04:26 UTC Build successful.

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:05:15 UTC Pre-commit check for ec7e57c28b3049e7cc71a6d42f1fec48500854fc has started. :white_circle: 2024-05-17 13:05:17 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-17 13:06:40 UTC Build successful. :black_circle: 2024-05-17 13:07:56 UTC Check cancelled

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:09:09 UTC Pre-commit check for d6d0a0a0468dbc6a6163c39fd89bdd40f7cd4628 has started. :white_circle: 2024-05-17 13:09:10 UTC Build linux-x86_64-release-clang14 is running... :black_circle: 2024-05-17 13:10:28 UTC Check cancelled

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:11:51 UTC Pre-commit check for e8a4bbc5e3fb615ff1dc24e509b886f37ea735e2 has started. :white_circle: 2024-05-17 13:11:54 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-17 13:13:14 UTC Build successful. :black_circle: 2024-05-17 13:14:11 UTC Check cancelled

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:11:53 UTC Pre-commit check for e8a4bbc5e3fb615ff1dc24e509b886f37ea735e2 has started. :white_circle: 2024-05-17 13:11:56 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-17 13:13:13 UTC Build successful. :black_circle: 2024-05-17 13:14:10 UTC Check cancelled

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:13:33 UTC Pre-commit check for e8a4bbc5e3fb615ff1dc24e509b886f37ea735e2 has started. :white_circle: 2024-05-17 13:13:36 UTC Build linux-x86_64-release-clang14 is running... :black_circle: 2024-05-17 13:14:12 UTC Check cancelled

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:15:18 UTC Pre-commit check for d1afd1520c2e9210726c7b797f60a11b23ab59e3 has started. :white_circle: 2024-05-17 13:15:19 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-17 13:16:19 UTC Build successful. :white_circle: 2024-05-17 13:17:40 UTC Tests are running... :red_circle: 2024-05-17 14:12:39 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2333 2078 0 26 211 18

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:15:27 UTC Pre-commit check for d1afd1520c2e9210726c7b797f60a11b23ab59e3 has started. :white_circle: 2024-05-17 13:15:28 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-17 13:18:31 UTC Build successful.

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 13:17:34 UTC Pre-commit check for d1afd1520c2e9210726c7b797f60a11b23ab59e3 has started. :white_circle: 2024-05-17 13:17:38 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-17 13:19:01 UTC Build successful. :white_circle: 2024-05-17 13:20:30 UTC Tests are running... :red_circle: 2024-05-17 13:58:30 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3200 3162 0 5 32 1

github-actions[bot] avatar May 17 '24 13:05 github-actions[bot]

:white_circle: 2024-05-17 14:30:41 UTC Pre-commit check for 6df344ff4690aca191b0c9ce124ef4c790b57101 has started. :white_circle: 2024-05-17 14:30:45 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-17 14:32:06 UTC Build successful. :white_circle: 2024-05-17 14:33:32 UTC Tests are running... :red_circle: 2024-05-17 15:23:18 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2328 2135 0 18 166 9

github-actions[bot] avatar May 17 '24 14:05 github-actions[bot]

:white_circle: 2024-05-17 14:30:53 UTC Pre-commit check for 6df344ff4690aca191b0c9ce124ef4c790b57101 has started. :white_circle: 2024-05-17 14:30:56 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-17 14:32:22 UTC Build successful.

github-actions[bot] avatar May 17 '24 14:05 github-actions[bot]

:white_circle: 2024-05-17 14:33:03 UTC Pre-commit check for 6df344ff4690aca191b0c9ce124ef4c790b57101 has started. :white_circle: 2024-05-17 14:33:05 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-17 14:34:25 UTC Build successful. :white_circle: 2024-05-17 14:35:52 UTC Tests are running... :red_circle: 2024-05-17 15:12:35 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3199 3163 0 4 31 1

github-actions[bot] avatar May 17 '24 14:05 github-actions[bot]

:white_circle: 2024-05-20 11:44:47 UTC Pre-commit check for a2189c861950088702af2faa7a5a05324dedf045 has started. :white_circle: 2024-05-20 11:44:49 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-20 11:46:15 UTC Build successful. :white_circle: 2024-05-20 11:47:43 UTC Tests are running... :red_circle: 2024-05-20 12:24:08 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3198 3166 0 1 29 2

github-actions[bot] avatar May 20 '24 11:05 github-actions[bot]

:white_circle: 2024-05-20 11:44:50 UTC Pre-commit check for a2189c861950088702af2faa7a5a05324dedf045 has started. :white_circle: 2024-05-20 11:44:53 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-20 11:46:19 UTC Build successful.

github-actions[bot] avatar May 20 '24 11:05 github-actions[bot]

:white_circle: 2024-05-20 11:44:52 UTC Pre-commit check for a2189c861950088702af2faa7a5a05324dedf045 has started. :white_circle: 2024-05-20 11:44:55 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-20 11:46:15 UTC Build successful. :white_circle: 2024-05-20 11:47:43 UTC Tests are running... :red_circle: 2024-05-20 12:42:33 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2329 2187 0 17 111 14

github-actions[bot] avatar May 20 '24 11:05 github-actions[bot]

:white_circle: 2024-05-20 16:16:15 UTC Pre-commit check for 67fd2b9af44578f2ced9a0d834437f0d8d41edc5 has started. :white_circle: 2024-05-20 16:16:17 UTC Build linux-x86_64-release-clang14 is running... :black_circle: 2024-05-20 16:18:08 UTC Check cancelled

github-actions[bot] avatar May 20 '24 16:05 github-actions[bot]

:white_circle: 2024-05-20 16:16:32 UTC Pre-commit check for 67fd2b9af44578f2ced9a0d834437f0d8d41edc5 has started. :white_circle: 2024-05-20 16:16:38 UTC Build linux-x86_64-release-asan is running... :black_circle: 2024-05-20 16:18:09 UTC Check cancelled

github-actions[bot] avatar May 20 '24 16:05 github-actions[bot]