1 Introduction

This is a short companion tutorial to the github (Monteiro 2020a). We give here a glimpse of the Phase Separation Binary Classifier (in short, PSBC), proposed in the article Binary Classification as a Phase Separation Process, by Rafael Monteiro; a preprint is available on arXiv.

This is a new type of Recurrent Neural Network whose architecture is inspired on how (binary) fluids phase separate.

An implementation of the model can be found in the module binary_phase_separation.py. Part of this tutorial can also be found in README_v2.pdf.

…but, before we start…

This project can be downloaded in tarballs. The first 3 of them are thos enecessary to replicate the numerical tests we did:

while the last 2 can be used to reproduce the figures shown in the paper:

All these files are available at (Monteiro 2020b). All of them but PSBC_dataset.tar.gz can also be downloaded from Github “(Monteiro 2020a)”. * The main module for this project are in the folder MOTHER_PSBC. The main module, tfversion_binary_phase_separation.py does not depend on the folder-tree structure described in the README_v2 file on “(Monteiro 2020a)”. * If you want to reproduce this notebook you should download the file - PSBC_notebooks.tar.gz. * It is always recommended to download big using wget), but you can use your browser.

  • To decompress the tarballs, look online (like here) or check the README_v2.pdf guide.

  • This website is partially based on this jupyter-notebook. For simplicity, I shall refrain from posting the whole oputput of some cases, marking then with a symbol \(>>>\).

  • We will summarize some of the outputs, adding a “…” to them. If you would like to see the whole output, please see PSBC_Examples.ipynb.

As we said, this discussion is short but we want to offer a bit more than just a manual, so we will point out references along the way.

References

Monteiro, Rafael. 2020a. “Source Code for the Paper ‘Binary Classification as a Phase Separation Process’.” GitHub Repository. https://github.com/rafael-a-monteiro-math/Binary_classification_phase_separation; GitHub.

Monteiro, Rafael. 2020b. “Binary Classification as a Phase Separation Process (data repository).” Zenodo. https://doi.org/10.5281/zenodo.5525794.