Subclassing non-base Hyperparams class does not work

I tried doing:

class MyHyperparams(SKRandomForestClassifierHyperparams): pass However, this returns an empty dict: MyHyperparams.defaults() And you can't do MyHyperparams(MyHyperparams.defaults, n_estimators=100)

Something is wrong with the class hierarchy in these Hyperparams classes

Will write a failing test shortly

Edited by Mitar