Topological optimization of the ICLR acronym

In this notebook, we show how a topological loss can be use to increase the 'connectedness' of a data set.

We start by setting the working directory and importing the necessary libraries.

Load and view data

We load and view the data as follows.

Apply topological optimization to the embedding

We now show how we can use topological optimization to encourage the model underlying the data to become connected. As a topological loss, we will use the total (finite) 0-dimensional persistence.

We can now conduct the topological optimization as follows.

Finally, we save the optimized data sets for plotting in R.