pub struct PageRankConfig {
pub damping: f64,
pub max_iter: usize,
pub tol: f64,
}Expand description
Hyper-parameters for the PageRank power iteration.
Fields§
§damping: f64Damping factor d (probability of following an out-edge rather than
teleporting). The classic value is 0.85. Must lie in [0, 1].
max_iter: usizeMaximum number of power-iteration sweeps.
tol: f64Convergence tolerance on the L1 distance between successive iterates.
Trait Implementations§
Source§impl Clone for PageRankConfig
impl Clone for PageRankConfig
Source§fn clone(&self) -> PageRankConfig
fn clone(&self) -> PageRankConfig
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 moreSource§impl Debug for PageRankConfig
impl Debug for PageRankConfig
Auto Trait Implementations§
impl Freeze for PageRankConfig
impl RefUnwindSafe for PageRankConfig
impl Send for PageRankConfig
impl Sync for PageRankConfig
impl Unpin for PageRankConfig
impl UnsafeUnpin for PageRankConfig
impl UnwindSafe for PageRankConfig
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