Enable parallel execution with n_jobs
masterBoth k-modes and k-prototypes support multiprocessing via the joblib library. You can enable this by setting the n_jobs parameter.
Parallel execution is most effective when n_init > 1, as it can speed up the execution of multiple initialization tries. It is generally recommended not to set more jobs than there are available processor cores on your system.