Struct smartcore::cluster::dbscan::DBSCANSearchParameters
source · pub struct DBSCANSearchParameters<T: Number, D: Distance<Vec<T>>> {
pub distance: Vec<D>,
pub min_samples: Vec<usize>,
pub eps: Vec<f64>,
pub algorithm: Vec<KNNAlgorithmName>,
/* private fields */
}
Expand description
DBSCAN grid search parameters
Fields§
§distance: Vec<D>
a function that defines a distance between each pair of point in training data.
This function should extend Distance
trait.
See Distances
for a list of available functions.
min_samples: Vec<usize>
The number of samples (or total weight) in a neighborhood for a point to be considered as a core point.
eps: Vec<f64>
The maximum distance between two samples for one to be considered as in the neighborhood of the other.
algorithm: Vec<KNNAlgorithmName>
KNN algorithm to use.
Trait Implementations§
source§impl<T: Clone + Number, D: Clone + Distance<Vec<T>>> Clone for DBSCANSearchParameters<T, D>
impl<T: Clone + Number, D: Clone + Distance<Vec<T>>> Clone for DBSCANSearchParameters<T, D>
source§fn clone(&self) -> DBSCANSearchParameters<T, D>
fn clone(&self) -> DBSCANSearchParameters<T, D>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Number, D: Distance<Vec<T>>> IntoIterator for DBSCANSearchParameters<T, D>
impl<T: Number, D: Distance<Vec<T>>> IntoIterator for DBSCANSearchParameters<T, D>
Auto Trait Implementations§
impl<T, D> RefUnwindSafe for DBSCANSearchParameters<T, D>where D: RefUnwindSafe, T: RefUnwindSafe,
impl<T, D> Send for DBSCANSearchParameters<T, D>where D: Send, T: Send,
impl<T, D> Sync for DBSCANSearchParameters<T, D>where D: Sync, T: Sync,
impl<T, D> Unpin for DBSCANSearchParameters<T, D>where D: Unpin, T: Unpin,
impl<T, D> UnwindSafe for DBSCANSearchParameters<T, D>where D: UnwindSafe, T: UnwindSafe,
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