You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be possible to adjust how the SparseGrid converts fidelity indices to training data.
Actual Behavior
Currently must use the assumed form of num_pts = k * beta + 1 in the beta_to_knots function. The scale "k" is configurable as self.knots_per_level.
Ideas
Could allow a completely custom beta_to_knots function -- in which case you should just subclass SparseGrid and override the beta_to_knots function.
Could easily add a configuration to SparseGrid for the offset, so that num_pts = k * beta + offset, where k and offset are both configurable. Anything more complicated should just override beta_to_knots. This would be useful for example, for setting the initial polynomial degree of Lagrange to something higher than 0.
Expected Behavior
SparseGridconverts fidelity indices to training data.Actual Behavior
num_pts = k * beta + 1in the beta_to_knots function. The scale "k" is configurable asself.knots_per_level.Ideas
beta_to_knotsfunction -- in which case you should just subclassSparseGridand override thebeta_to_knotsfunction.SparseGridfor the offset, so thatnum_pts = k * beta + offset, wherekandoffsetare both configurable. Anything more complicated should just overridebeta_to_knots. This would be useful for example, for setting the initial polynomial degree ofLagrangeto something higher than 0.