The python vesion code of the paper "Model-based Recursive Partitioning".
The algorithm is interpretable and very efficient on some data sets. The original author open-source R language implementation, and here is the R code similar to Pyhon implementation.
paper "party with the mob: Model-Based Recursive Partitioning in R"
[1] Generalized M-Fluctuation Tests for Parameter Instability
[2] Approximate Asymptotic P-Values for Structural Change Tests
[3] Model-based Recursive Partitioning
[4] party with the mob: Model-Based Recursive Partitioning in R