pub struct NodeInfos {
pub test: Option<usize>,
pub error: f64,
pub metric: Option<f64>,
pub out: Option<f64>,
}Expand description
The content of a tree node.
Fields§
§test: Option<usize>The feature tested by an internal node; None for a leaf.
error: f64Error of the subtree rooted here.
metric: Option<f64>Score of the node for searches that optimise another metric.
out: Option<f64>The prediction of a leaf.
Implementations§
Trait Implementations§
impl Copy for NodeInfos
Source§impl<'de> Deserialize<'de> for NodeInfos
impl<'de> Deserialize<'de> for NodeInfos
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeInfos
impl RefUnwindSafe for NodeInfos
impl Send for NodeInfos
impl Sync for NodeInfos
impl Unpin for NodeInfos
impl UnsafeUnpin for NodeInfos
impl UnwindSafe for NodeInfos
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