#[non_exhaustive]pub struct FillMissingValues {
pub name: String,
pub inputs: Vec<String>,
pub imputed_path: String,
pub filled_path: Option<String>,
}Expand description
Specifies a transform that locates records in the dataset that have missing values and adds a new field with a value determined by imputation. The input data set is used to train the machine learning model that determines what the missing value should be.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name of the transform node.
inputs: Vec<String>The data inputs identified by their node names.
imputed_path: StringA JSON path to a variable in the data structure for the dataset that is imputed.
filled_path: Option<String>A JSON path to a variable in the data structure for the dataset that is filled.
Implementations§
Source§impl FillMissingValues
impl FillMissingValues
Sourcepub fn imputed_path(&self) -> &str
pub fn imputed_path(&self) -> &str
A JSON path to a variable in the data structure for the dataset that is imputed.
Sourcepub fn filled_path(&self) -> Option<&str>
pub fn filled_path(&self) -> Option<&str>
A JSON path to a variable in the data structure for the dataset that is filled.
Source§impl FillMissingValues
impl FillMissingValues
Sourcepub fn builder() -> FillMissingValuesBuilder
pub fn builder() -> FillMissingValuesBuilder
Creates a new builder-style object to manufacture FillMissingValues.
Source§impl FillMissingValues
impl FillMissingValues
Sourcepub fn deserialize(
deserializer: &mut dyn ShapeDeserializer,
) -> Result<Self, SerdeError>
pub fn deserialize( deserializer: &mut dyn ShapeDeserializer, ) -> Result<Self, SerdeError>
Deserializes this structure from a [ShapeDeserializer].
Trait Implementations§
Source§impl Clone for FillMissingValues
impl Clone for FillMissingValues
Source§fn clone(&self) -> FillMissingValues
fn clone(&self) -> FillMissingValues
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FillMissingValues
impl Debug for FillMissingValues
Source§impl PartialEq for FillMissingValues
impl PartialEq for FillMissingValues
Source§impl SerializableStruct for FillMissingValues
impl SerializableStruct for FillMissingValues
Source§fn schema(&self) -> &Schema<'_>
fn schema(&self) -> &Schema<'_>
Source§fn serialize_members(
&self,
ser: &mut dyn ShapeSerializer,
) -> Result<(), SerdeError>
fn serialize_members( &self, ser: &mut dyn ShapeSerializer, ) -> Result<(), SerdeError>
impl StructuralPartialEq for FillMissingValues
Auto Trait Implementations§
impl Freeze for FillMissingValues
impl RefUnwindSafe for FillMissingValues
impl Send for FillMissingValues
impl Sync for FillMissingValues
impl Unpin for FillMissingValues
impl UnsafeUnpin for FillMissingValues
impl UnwindSafe for FillMissingValues
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more