pub struct CategoricalMapper { /* private fields */ }Expand description
CategoricalMapper for transforming categorical data into Neutrosophic Judgments
Implementationsยง
Sourceยงimpl CategoricalMapper
impl CategoricalMapper
Sourcepub fn new(params: CategoricalParams) -> Result<Self, ValidationError>
pub fn new(params: CategoricalParams) -> Result<Self, ValidationError>
Create a new CategoricalMapper with the given parameters
Sourcepub fn apply(&self, input_category: &str) -> Result<NeutrosophicJudgment>
pub fn apply(&self, input_category: &str) -> Result<NeutrosophicJudgment>
Apply the mapper to a categorical input
Trait Implementationsยง
Sourceยงimpl Mapper for CategoricalMapper
impl Mapper for CategoricalMapper
Sourceยงfn apply(&self, input: &dyn Any) -> Result<NeutrosophicJudgment>
fn apply(&self, input: &dyn Any) -> Result<NeutrosophicJudgment>
Apply the mapper to transform input data
Sourceยงfn get_params(&self) -> &dyn Any
fn get_params(&self) -> &dyn Any
Get the mapper parameters
Sourceยงfn get_type(&self) -> MapperType
fn get_type(&self) -> MapperType
Get the mapper type
Auto Trait Implementationsยง
impl Freeze for CategoricalMapper
impl RefUnwindSafe for CategoricalMapper
impl Send for CategoricalMapper
impl Sync for CategoricalMapper
impl Unpin for CategoricalMapper
impl UnwindSafe for CategoricalMapper
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