pub struct RiskModelValue {
pub address: Option<String>,
pub at: Option<String>,
pub learned: Option<i32>,
pub sequence: Option<i32>,
pub shape: Option<String>,
pub warmed: Option<String>,
}Fields§
§address: Option<String>Address names this value by its own content: the model’s shape, the geometry seed, its position in the window, its threshold, its masses as IEEE-754 bits and the fold watermark behind them. Nothing else — no clock, no counter and deliberately NOT the organisation, so an identical model has one name and a name is never an authority. Holding another organisation’s address resolves nothing.
at: Option<String>At is when it was published, RFC 3339, on the server clock. You do not supply it: a record whose date the audited party chose is not a record.
learned: Option<i32>Learned is how many events are behind the masses.
sequence: Option<i32>Sequence is this value’s place in YOUR organisation’s own history, from 1 and contiguous until retention disposes of the oldest.
shape: Option<String>Shape NAMES the model space the masses are only meaningful against, as <family>:<digest> — the KIND of model, and that family’s own digest over the feature inventory in order and the detector’s geometry parameters. Compare it with the shape on your model state (GET /v1/risk/state): equal means adopting this value restores masses into the space already running, and different means adopting it REPLANTS the model into the space this value describes. That is what makes a searched shape installable. A DIFFERENT FAMILY IS NOT ADOPTABLE AT ALL, and that is the one difference the family term makes here: a different geometry in the same family is a replant, and a different family is a refusal naming both — its masses do not describe your model in any space.
warmed: Option<String>Warmed is how far your own event surface had been folded in when this value was published, RFC 3339. It is part of the address because two models with identical masses reached by different routes disagree about what is left to fold, and one of them will re-teach history the other will not.
Implementations§
Source§impl RiskModelValue
impl RiskModelValue
pub fn new() -> RiskModelValue
Trait Implementations§
Source§impl Clone for RiskModelValue
impl Clone for RiskModelValue
Source§fn clone(&self) -> RiskModelValue
fn clone(&self) -> RiskModelValue
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more