WeakPDELibrary vs ParametrizedLibrary, fulltweights vs fullweights0 #307
-
Hey @znicolaou, I had a question about ParametrizedLibrary. Normally, WeakPDELibrary calculates the LHS (calc_trajectory) by multiplying values of u by What exactly is going on here? Why is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @Jacob-Stevens-Haas , The issue here is a subtle one noted in the arxiv here: https://arxiv.org/abs/2301.02673, p4. The |
Beta Was this translation helpful? Give feedback.
Sorry for the slow response! I think currently, if a user tries to tensor together two weak libraries with a generalized library, it will calculate the product of the weak features and attempt to run the optimizer on those nonsensical features. We probably want to issue a warning at least in that case. Even in the
TensoredLibrary
class in feature_library/base.py, it does not currently check if the library is weak or is generalized library composed of weak libraries. A user could probably produce bad results if they tried complicated things naively.