From 994d1665cb61d15a7f3d44d03fc489227ee84bbc Mon Sep 17 00:00:00 2001 From: Leonid Boytsov Date: Thu, 8 Feb 2018 00:41:32 -0500 Subject: [PATCH 1/4] Update README.md --- python_bindings/notebooks/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_bindings/notebooks/README.md b/python_bindings/notebooks/README.md index b97f414..593a789 100644 --- a/python_bindings/notebooks/README.md +++ b/python_bindings/notebooks/README.md @@ -1,4 +1,4 @@ -We have three Notebooks: two are for dense spaces and one is for the sparse space. For the dense space, we have examples of the so-called optimized and non-optimized indices. Except HNSW, all the methods save meta-indices rather than real onese. Meta indices contain only index structure, but not the data. Hence, before a meta-index can be loaded, we need to re-load data. +We have three Notebooks: three are for dense spaces and one is for the sparse space. For the dense space, we have examples of the so-called optimized and non-optimized indices. Except HNSW, all the methods save meta-indices rather than real onese. Meta indices contain only index structure, but not the data. Hence, before a meta-index can be loaded, we need to re-load data. One example is a memory efficient space to search for SIFT vectors. HNSW, can save real indices, but only for the dense spaces: Euclidean and the cosine. When you use these optimized indices, the search does not require reloading all the data. However, reloading the data is **required** if you want to use the function **getDistance**. Furthermore, creation of the optimized index can always be disabled specifying the index-time parameter **skip_optimized_index** (value 1). From 484c6746f73124abd818ff80e0cc976bae57ad0f Mon Sep 17 00:00:00 2001 From: Leonid Boytsov Date: Thu, 8 Feb 2018 22:36:53 -0500 Subject: [PATCH 2/4] Update README.md --- python_bindings/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_bindings/README.md b/python_bindings/README.md index 2dcd145..43057eb 100644 --- a/python_bindings/README.md +++ b/python_bindings/README.md @@ -47,7 +47,7 @@ neighbours = index.knnQueryBatch(data, k=10, num_threads=4) #### Logging -NMSLIB produces quite a few informational messages. By default, they are not shown in Python. To enable debugging, one should use the following commands before importing the library: +NMSLIB produces quite a few informational messages. By default, they are not shown in Python. To enable debugging, one should use the following commands *before* importing the library: ``` import logging From 66fba61760a6e29eb77a4ccd3825d41faa0ad04e Mon Sep 17 00:00:00 2001 From: Leonid Boytsov Date: Thu, 8 Feb 2018 22:37:21 -0500 Subject: [PATCH 3/4] Update README.md --- python_bindings/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_bindings/README.md b/python_bindings/README.md index 43057eb..4d4e5b7 100644 --- a/python_bindings/README.md +++ b/python_bindings/README.md @@ -47,7 +47,7 @@ neighbours = index.knnQueryBatch(data, k=10, num_threads=4) #### Logging -NMSLIB produces quite a few informational messages. By default, they are not shown in Python. To enable debugging, one should use the following commands *before* importing the library: +NMSLIB produces quite a few informational messages. By default, they are not shown in Python. To enable debugging, one should use the following commands **before** importing the library: ``` import logging From 43f298ba33861ef35411ac4f6c8d285dc18f0c0b Mon Sep 17 00:00:00 2001 From: Leonid Boytsov Date: Thu, 8 Feb 2018 22:39:01 -0500 Subject: [PATCH 4/4] Update README.md --- python_bindings/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_bindings/README.md b/python_bindings/README.md index 4d4e5b7..4752886 100644 --- a/python_bindings/README.md +++ b/python_bindings/README.md @@ -51,7 +51,7 @@ NMSLIB produces quite a few informational messages. By default, they are not sho ``` import logging -logging.basicConfig(level=logging.INFO) +logging.basicConfig(level=logging.DEBUG) ``` #### Installing with Extras