pwlfPredict#
- swordfish.function.pwlfPredict()#
Evaluate the fitted continuous piecewise linear function at untested points.
- 参数:
model (Constant) -- A dictionary returned by piecewiseLinFit.
X (Constant) -- A numeric vector indicating the x locations to predict the output of the fitted continuous piecewise linear function. Null value is not allowed.
beta (Constant, optional) -- A numeric vector indicating the model parameters for the continuous piecewise linear fit. Null value is not allowed.
breaks (Constant, optional) -- A numeric vector indicating the x locations where each line segment terminates. These are referred to as breakpoints for each line segment. Null value is not allowed.
- 返回:
A floating-point vector.
- 返回类型: