.. index:: single: umap_projection
.. _umap_projection/0:

.. rst-class:: right

**object**

``umap_projection``
===================

Uniform Manifold Approximation and Projection dimension reducer for continuous, categorical, and mixed datasets.

| **Availability:** 
|    ``logtalk_load(umap_projection(loader))``

| **Author:** Paulo Moura
| **Version:** 2:1:0
| **Date:** 2026-10-24

| **Compilation flags:**
|    ``static, context_switching_calls``


| **Imports:**
|    ``public`` :ref:`dimension_reducer_common <dimension_reducer_common/0>`
| **Uses:**
|    :ref:`assignvars <assignvars/0>`
|    :ref:`avltree <avltree/0>`
|    :ref:`binary_heap(Order) <binary_heap/1>`
|    :ref:`fast_random(Algorithm) <fast_random/1>`
|    :ref:`format <format/0>`
|    :ref:`linear_algebra <linear_algebra/0>`
|    :ref:`list <list/0>`
|    :ref:`numberlist <numberlist/0>`
|    :ref:`pairs <pairs/0>`
|    :ref:`population <population/0>`
|    :ref:`type <type/0>`
|    :ref:`user <user/0>`

| **Remarks:**
|    (none)

| **Inherited public predicates:**
|     :ref:`dimension_reducer_protocol/0::check_dimension_reducer/1`  :ref:`options_protocol/0::check_option/1`  :ref:`options_protocol/0::check_options/1`  :ref:`options_protocol/0::default_option/1`  :ref:`options_protocol/0::default_options/1`  :ref:`dimension_reducer_protocol/0::diagnostic/2`  :ref:`dimension_reducer_protocol/0::diagnostics/2`  :ref:`dimension_reducer_protocol/0::dimension_reducer_options/2`  :ref:`dimension_reducer_protocol/0::export_to_clauses/4`  :ref:`dimension_reducer_protocol/0::export_to_file/4`  :ref:`dimension_reducer_protocol/0::learn/2`  :ref:`dimension_reducer_protocol/0::learn/3`  :ref:`options_protocol/0::option/2`  :ref:`options_protocol/0::option/3`  :ref:`dimension_reducer_protocol/0::print_dimension_reducer/1`  :ref:`dimension_reducer_protocol/0::transform/3`  :ref:`dimension_reducer_protocol/0::valid_dimension_reducer/1`  :ref:`options_protocol/0::valid_option/1`  :ref:`options_protocol/0::valid_options/1`  

.. contents::
   :local:
   :backlinks: top

Public predicates
-----------------

(no local declarations; see entity ancestors if any)

Protected predicates
--------------------

(no local declarations; see entity ancestors if any)

Private predicates
------------------

.. index:: graph_connected/2
.. _umap_projection/0::graph_connected/2:

``graph_connected/2``
^^^^^^^^^^^^^^^^^^^^^

Checks fuzzy graph connectivity. Intended for use in testing.

| **Compilation flags:**
|    ``static``

| **Template:**
|    ``graph_connected(FuzzyGraph,SampleCount)``
| **Mode and number of proofs:**
|    ``graph_connected(+list,+positive_integer)`` - ``zero_or_one``


------------

.. index:: normalized_adjacency/5
.. _umap_projection/0::normalized_adjacency/5:

``normalized_adjacency/5``
^^^^^^^^^^^^^^^^^^^^^^^^^^

Computes the normalized adjacency matrix for a starting vertex of zero and positive vertex degrees. Intended for use in testing.

| **Compilation flags:**
|    ``static``

| **Template:**
|    ``normalized_adjacency(StartVertex,SampleCount,FuzzyGraph,Degrees,Matrix)``
| **Mode and number of proofs:**
|    ``normalized_adjacency(+integer,+positive_integer,+list,+list,-list)`` - ``zero_or_one``


------------

Operators
---------

(none)

.. seealso::

   :ref:`tsne_projection <tsne_projection/0>`, :ref:`spectral_clusterer <spectral_clusterer/0>`

