Parameter use example
@@ -55,6 +55,18 @@ accurately with regard to local structure. Sensible values are in the range 0
in the input space. A wide variety of metrics are already coded, and a user
defined function can be passed as long as it has been JITd by numba.
+An example of making use of these options:
+.. code:: python
+
+ import umap
+ from sklearn.datasets import load_digits
+
+ digits = load_digits()
+
+ embedding = umap.UMAP(n_neighbors=5,
+ min_dist=0.3,
+ metric='correlation').fit_transform(digits.data)
+
Further details and tutorials are coming.
----------------
