When the decorator @geostat.featurizer() is missing above the featurization function definition, the featurized inputs that are used by the call method of the kernel (TrendPrior kernel in my case) are malformed (too many dimensions). As a consequence, the einsum in the call method throws an error as dimensions don't match.
I believe there should be an error message added in this case as this mistake could easily be repeated by other users and it's difficult to figure out where the problem lies.
When the decorator
@geostat.featurizer()is missing above the featurization function definition, the featurized inputs that are used by thecallmethod of the kernel (TrendPrior kernel in my case) are malformed (too many dimensions). As a consequence, the einsum in the call method throws an error as dimensions don't match.I believe there should be an error message added in this case as this mistake could easily be repeated by other users and it's difficult to figure out where the problem lies.