Before revision:  The distributions are clustered into a learned number of discrete volatility regimes via an optimisation routine.
After revision:  The distributions are clustered into a learned number of discrete volatility regimes via an optimization routine.