This is a minimal example of how to do semi-supervised clustering as described in the paper: Data-driven semi-supervised clustering for oil prediction
The code is made for Matlab 2021 and might not work for earlier versions of Matlab.
To run a simple example and generate the above figure, run the script: run_clustering.m
This code will generate an example as illustrated below: And cluster it into something similar to this: