加入新推出的
Discord 社区,展开实时讨论,获得同行支持,并直接与 Meridian 团队互动!
meridian.model.knots.KnotInfo
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
包含结数、结位置和权重。
meridian.model.knots.KnotInfo(
n_knots: int,
knot_locations: np.ndarray[int, np.dtype[int]],
weights: np.ndarray[int, np.dtype[float]]
)
属性 |
n_knots
|
结数
|
knot_locations
|
结位置
|
weights
|
用于与结值相乘以获取时变系数的权重。 |
方法
__eq__
__eq__(
other
)
返回 self==value。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-25。
[null,null,["最后更新时间 (UTC):2025-01-25。"],[],["The `KnotInfo` class stores knot-related data: the number of knots (`n_knots`), their locations (`knot_locations`), and their associated weights (`weights`). These weights are used to derive time-varying coefficients by multiplying them with the knot values. The class also includes an `__eq__` method to compare if one `KnotInfo` is equal to another.\n"],null,[]]