Priors#
Represent a PEP 604 union type |
|
Group output, feature-wise, and cross-feature shape priors. |
|
Bound model values over the model's complete input domain. |
|
Bound a feature's partial derivative over the complete input domain. |
|
Require monotonic increase or decrease in one feature. |
|
Require a feature slice to have one minimum or maximum mode. |
|
Require the model output to be jointly convex in all input features. |
|
Require the model output to be jointly concave in all input features. |
|
Create the prior |
|
Create the prior |
|
Create an increasing monotonicity prior. |
|
Create a decreasing monotonicity prior. |
|
Create a coordinate-wise Lipschitz prior. |
|
Parse one legacy semantic specification into a bound prior. |
|
Parse text specifications into the canonical priors container. |