How to make HDBScan an inductive clustering method
Jul 28, 2021
There is a large difference between inductive and transductive clustering methods.
While the first are more similar to supervised learning, in the sense that once trained on N examples they can generalize to M unseen new samples, transductive method instead need to see all data, but cannot generalize to new samples.
HDBscan is largely a transductive method, and to make it able to generalize to new data we can wrap in a new class the approximate_predict method offered by the library.