Join the newly launched Discord
community for real-time discussions, peer support, and direct interaction with the Meridian team!
meridian.model.knots.KnotInfo Stay organized with collections
Save and categorize content based on your preferences.
Contains the number of knots, knot locations, and weights.
meridian
.
model
.
knots
.
KnotInfo
(
n_knots
:
int
,
knot_locations
:
np
.
ndarray
[
int
,
np
.
dtype
[
int
]],
weights
:
np
.
ndarray
[
int
,
np
.
dtype
[
float
]]
)
The weights used to multiply with the knot values to get time-
varying coefficients.
Methods
__eq__
__eq__
(
other
)
Return self==value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-09 UTC."],[],["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"]]