pub struct UpperTreeOptions {
pub num_leaves: u32,
pub num_leaves_to_search: u32,
pub avq: Option<f64>,
pub soar_lambda: Option<f64>,
pub overretrieve_factor: Option<f64>,
pub scoring_mode: Quantization,
pub anisotropic_quantization_threshold: Option<f64>,
}Expand description
Python: ScannBuilder.upper_tree(): a second partitioning level above
the tree. Requires ConfigBuilder::tree.
Fields§
§num_leaves: u32§num_leaves_to_search: u32§avq: Option<f64>§soar_lambda: Option<f64>§overretrieve_factor: Option<f64>§scoring_mode: Quantization§anisotropic_quantization_threshold: Option<f64>Implementations§
Source§impl UpperTreeOptions
impl UpperTreeOptions
pub fn new(num_leaves: u32, num_leaves_to_search: u32) -> Self
pub fn avq(self, eta: f64) -> Self
pub fn soar_lambda(self, lambda: f64) -> Self
pub fn overretrieve_factor(self, f: f64) -> Self
pub fn scoring_mode(self, m: Quantization) -> Self
pub fn anisotropic_quantization_threshold(self, t: f64) -> Self
Trait Implementations§
Source§impl Clone for UpperTreeOptions
impl Clone for UpperTreeOptions
Source§impl Debug for UpperTreeOptions
impl Debug for UpperTreeOptions
Source§impl PartialEq for UpperTreeOptions
impl PartialEq for UpperTreeOptions
impl StructuralPartialEq for UpperTreeOptions
Auto Trait Implementations§
impl Freeze for UpperTreeOptions
impl RefUnwindSafe for UpperTreeOptions
impl Send for UpperTreeOptions
impl Sync for UpperTreeOptions
impl Unpin for UpperTreeOptions
impl UnsafeUnpin for UpperTreeOptions
impl UnwindSafe for UpperTreeOptions
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