pub struct EdgeSplit {
pub train: Vec<(VertexId, VertexId)>,
pub test: Vec<(VertexId, VertexId)>,
}Expand description
Result of an edge train/test split.
Fields§
§train: Vec<(VertexId, VertexId)>Training edges (the larger partition).
test: Vec<(VertexId, VertexId)>Test edges (the smaller, held-out partition).
Trait Implementations§
impl Eq for EdgeSplit
impl StructuralPartialEq for EdgeSplit
Auto Trait Implementations§
impl Freeze for EdgeSplit
impl RefUnwindSafe for EdgeSplit
impl Send for EdgeSplit
impl Sync for EdgeSplit
impl Unpin for EdgeSplit
impl UnsafeUnpin for EdgeSplit
impl UnwindSafe for EdgeSplit
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