Re-exports§
pub use percentile::percentile_rand;
percentile-rand
pub use percentile::median;
pub use percentile::percentile;
pub use percentile::Fraction;
pub use regression::best_fit_ols as regression_best_fit;
ols
pub use regression::Determination;
regression
pub use regression::Predictive;
regression
Modules§
- Percentile / median calculations.
- regression
regression
Various regression models to fit the best line to your data. All written to be understandable.
Structs§
- A list of clusters.
- Owned variant of
ClusterList
. UseSelf::borrow
to get aClusterList
. The inner slice is accessible through theDeref
andDerefMut
, which means you can use this as a mutable slice. - Returned from
percentiles_cluster
and similar functions. - Returned from
standard_deviation
and similar functions.
Traits§
- Helper-trait for types used by
mean
. - Helper-trait for types used by
standard_deviation
.
Functions§
- Mean of
values
. - Mean of clustered
values
. - Get a collection of percentiles from
values
. - Get the standard deviation of
values
. The mean is also returned from this, because it’s required to compute the standard deviation. - Get the standard deviation of
values
. The mean is also returned from this, because it’s required to compute the standard deviation.
Type Aliases§
As all algorithms are executed in linear time now, this is not as useful, but nevertheless an interesting feature. If you already have clustered data, this feature is great.