pub enum PredictionTaskKind {
Regression,
Classification,
}Expand description
Prediction task kind needed to validate task-sensitive reducers. This is a
deliberately tiny enum; the bridge maps its richer task type into it. It does
not make dag-ml-data the home of DAG-ML task semantics.
Variants§
Trait Implementations§
Source§impl Clone for PredictionTaskKind
impl Clone for PredictionTaskKind
Source§fn clone(&self) -> PredictionTaskKind
fn clone(&self) -> PredictionTaskKind
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 moreimpl Copy for PredictionTaskKind
Source§impl Debug for PredictionTaskKind
impl Debug for PredictionTaskKind
Source§impl<'de> Deserialize<'de> for PredictionTaskKind
impl<'de> Deserialize<'de> for PredictionTaskKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PredictionTaskKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PredictionTaskKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PredictionTaskKind
Source§impl PartialEq for PredictionTaskKind
impl PartialEq for PredictionTaskKind
Source§fn eq(&self, other: &PredictionTaskKind) -> bool
fn eq(&self, other: &PredictionTaskKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PredictionTaskKind
impl Serialize for PredictionTaskKind
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 PredictionTaskKind
Auto Trait Implementations§
impl Freeze for PredictionTaskKind
impl RefUnwindSafe for PredictionTaskKind
impl Send for PredictionTaskKind
impl Sync for PredictionTaskKind
impl Unpin for PredictionTaskKind
impl UnsafeUnpin for PredictionTaskKind
impl UnwindSafe for PredictionTaskKind
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