I was trying to chain BorutaShap inside a sklearn pipeline, as I can do with Borutapy, but it retuns this error:
TypeError: All intermediate steps should be transformers and implement fit and transform or be the string 'passthrough' '<BorutaShap.BorutaShap object at 0x000002038843DB20>' (type <class 'BorutaShap.BorutaShap'>) doesn't.
It would be nice if we could chain BorutaShap inside a sklearn pipeline as a feature selector.
Implementation
Maybe you could try to implement similar to the BorutaPy transform method?
Description
I was trying to chain BorutaShap inside a sklearn pipeline, as I can do with Borutapy, but it retuns this error:
TypeError: All intermediate steps should be transformers and implement fit and transform or be the string 'passthrough' '<BorutaShap.BorutaShap object at 0x000002038843DB20>' (type <class 'BorutaShap.BorutaShap'>) doesn't.
It would be nice if we could chain BorutaShap inside a sklearn pipeline as a feature selector.
Implementation
Maybe you could try to implement similar to the BorutaPy transform method?