Versions in this module Expand all Collapse all v0 v0.0.1 Jun 12, 2019 Changes in this version + var InsufficientComponentsError = errors.New("Estimation requires at least one component") + var InsufficientDataError = errors.New("Estimation requires n_obs >= n_comps") + var NoTrainingDataError = errors.New("You need to Fit() before you can Predict()") + func BitCount(n *big.Int) int + type ClusterMap map[int][]int + func DBSCAN(inst base.FixedDataGrid, params DBSCANParameters) (ClusterMap, error) + func (ref ClusterMap) Equals(other ClusterMap) (bool, error) + func (ref ClusterMap) Invert() (map[int]int, error) + type ClusterParameters struct + Attributes []base.Attribute + Metric pairwise.PairwiseDistanceFunc + type DBSCANParameters struct + Eps float64 + MinCount int + type ExpectationMaximization struct + Params Params + func NewExpectationMaximization(n_comps int) (*ExpectationMaximization, error) + func (em *ExpectationMaximization) Fit(inst base.FixedDataGrid) error + func (em *ExpectationMaximization) Predict(inst base.FixedDataGrid) (ClusterMap, error) + type Params struct + Covs []mat.Symmetric + Means *mat.Dense