[−][src]Struct faiss_sys::FaissClusteringParameters
Class for the clustering parameters. Can be passed to the constructor of the Clustering object.
Fields
niter: c_int< clustering iterations
nredo: c_int< redo clustering this many times and keep best
verbose: c_int< (bool)
spherical: c_int< (bool) do we want normalized centroids?
update_index: c_int< (bool) update index after each iteration?
frozen_centroids: c_int< (bool) use the centroids provided as input and do not change them during iterations
min_points_per_centroid: c_int< otherwise you get a warning
max_points_per_centroid: c_int< to limit size of dataset
seed: c_int< seed for the random number generator
Trait Implementations
impl Clone for FaissClusteringParameters[src]
fn clone(&self) -> FaissClusteringParameters[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for FaissClusteringParameters[src]
impl Debug for FaissClusteringParameters[src]
Auto Trait Implementations
impl RefUnwindSafe for FaissClusteringParameters
impl Send for FaissClusteringParameters
impl Sync for FaissClusteringParameters
impl Unpin for FaissClusteringParameters
impl UnwindSafe for FaissClusteringParameters
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,