I would like to use mlxtend StackingRegressor to ensemble XGBoost,LGBM and Catboost .But I am not sure how much cpu I will use in this method.
For example:
In XGboost:
import xgboost as xgb
xgb_pars = {'nthread': -1}
xgb1=XGBRegressor(**xgb_pars)
Then I know I will use up all cpu core in this algorithm
But what if I try it with mlxtend StackingRegressor?
I guess this method will use cpu that I arranged to each algorithm.
Example: XGBoost:2 LGBM:2 CatBoost:2 Meta regressor:1
So finally I am using 7 cores.