Skip to content
Advertisement

Custom Transformer Class Inheritance [closed]

I’m attempting to put together a Custom Transformer for sklearn which returns either a dataframe or array on my X data. It inherits from sklearn and a library called tsmoothie. However, I’m not quite sure about the use of super() and inheritance. I’m getting this error:

JavaScript

My code:

JavaScript

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement