Open atifov opened 2 years ago
@atifov thanks for reporting this issue.
Apparently this happens due to a difference in implementation between sklearn ensembles and XGBoost. Let me dig deeper into this issue to come up with a solution to this compatibility problem.
When I use XGBClassifier (from XGboost library) using any DES or DCS algorithm, I am getting a _featuresnames mismatch error. I have pooled several other classifiers successfully. This error only arises when Xgboost is included in the pooled classifiers. Moreover I have successfully been able to use XGBoost in the Deslib Stacked Classifier algorithm. Please note as per previous advice, I have installed the latest version (0.3.5) of the library using the code:
pip install git+https://github.com/scikit-learn-contrib/DESlib
Following is the main code:
ValueError: _featurenames mismatch: