pub struct SurfaceView {
pub x_axis: String,
pub y_axis: String,
pub x_values: Vec<f64>,
pub y_values: Vec<f64>,
pub cells: Vec<SurfaceCell>,
pub null_bar: Option<f64>,
pub best: f64,
pub collapsed: Vec<String>,
}Expand description
The in-sample score of every configuration the search tried.
§Why this exists at all
Reporting only the winner shows two completely different situations identically: a broad region of configurations that all scored well, which suggests something real and robust to the exact parameters; and one bright cell surrounded by nothing, which is what fitting noise looks like from above. The verdict machinery already deflates for the size of the search; this is the part a person has to look at.
Fields§
§x_axis: StringThe two axes drawn, by name.
y_axis: String§x_values: Vec<f64>§y_values: Vec<f64>§cells: Vec<SurfaceCell>§null_bar: Option<f64>The bar a cell has to clear to be worth anything. None when there
were too few trials to say.
best: f64§collapsed: Vec<String>Axes not drawn, because a surface has two dimensions and a grid may have more. Named so nobody reads the chart as the whole search.
Implementations§
Trait Implementations§
Source§impl Clone for SurfaceView
impl Clone for SurfaceView
Source§impl Debug for SurfaceView
impl Debug for SurfaceView
Source§impl Default for SurfaceView
impl Default for SurfaceView
Source§impl<'de> Deserialize<'de> for SurfaceView
impl<'de> Deserialize<'de> for SurfaceView
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
Source§impl Message for SurfaceView
impl Message for SurfaceView
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for SurfaceView
impl PartialEq for SurfaceView
Source§impl Serialize for SurfaceView
impl Serialize for SurfaceView
impl StructuralPartialEq for SurfaceView
Auto Trait Implementations§
impl Freeze for SurfaceView
impl RefUnwindSafe for SurfaceView
impl Send for SurfaceView
impl Sync for SurfaceView
impl Unpin for SurfaceView
impl UnsafeUnpin for SurfaceView
impl UnwindSafe for SurfaceView
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