pub struct NativePredictorPipelineV1 {
pub pipeline_type: String,
pub schema_version: u32,
pub operator_count: u32,
pub raw_n_features: i32,
pub model_n_features: i32,
pub fingerprint_algorithm: String,
pub native_fingerprint: String,
pub savgol_window: i32,
pub savgol_poly_degree: i32,
}Expand description
Opaque, Methods-attested description of the preprocessing embedded in N4MM.
DAG-ML does not decode operator numbers or reproduce their kernels. The
public n4m inspector has already reduced the only supported format-2
pipeline to this typed contract. Window and polynomial degree are retained
solely so replay can cross-check the signed controller parameters against
the imported native payload.
Fields§
§pipeline_type: String§schema_version: u32§operator_count: u32§raw_n_features: i32§model_n_features: i32§fingerprint_algorithm: String§native_fingerprint: String§savgol_window: i32§savgol_poly_degree: i32Implementations§
Source§impl NativePredictorPipelineV1
impl NativePredictorPipelineV1
pub fn validate(&self) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for NativePredictorPipelineV1
impl Clone for NativePredictorPipelineV1
Source§fn clone(&self) -> NativePredictorPipelineV1
fn clone(&self) -> NativePredictorPipelineV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NativePredictorPipelineV1
impl Debug for NativePredictorPipelineV1
Source§impl<'de> Deserialize<'de> for NativePredictorPipelineV1
impl<'de> Deserialize<'de> for NativePredictorPipelineV1
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NativePredictorPipelineV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NativePredictorPipelineV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NativePredictorPipelineV1
Source§impl Serialize for NativePredictorPipelineV1
impl Serialize for NativePredictorPipelineV1
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NativePredictorPipelineV1
Auto Trait Implementations§
impl Freeze for NativePredictorPipelineV1
impl RefUnwindSafe for NativePredictorPipelineV1
impl Send for NativePredictorPipelineV1
impl Sync for NativePredictorPipelineV1
impl Unpin for NativePredictorPipelineV1
impl UnsafeUnpin for NativePredictorPipelineV1
impl UnwindSafe for NativePredictorPipelineV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.