File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,6 @@ type HCEvent struct {
1818 Observation []float64
1919}
2020
21- type SCEvent struct {
22- Probabilities []float64
23- Observation []float64
24- }
25-
2621/* TestResult represents output of a test performed to measure quality of an algorithm. */
2722type TestResult struct {
2823 clusters , expected int
@@ -58,29 +53,6 @@ type HardClusterer interface {
5853 Clusterer
5954}
6055
61- type SoftClusterer interface {
62-
63- /* Returns average probabilities of respective clusters */
64- Probabilities () []float64
65-
66- /* Returns mapping from data point indices to cluster probabilities */
67- Guesses () [][]float64
68-
69- /* Returns probabilities of the observation being assigned to respective clusters */
70- Predict (observation []float64 ) []float64
71-
72- /* Whether algorithm supports online learning */
73- IsOnline () bool
74-
75- /* Allows to configure the algorithms for online learning */
76- WithOnline (Online ) SoftClusterer
77-
78- /* Provides a method to train the algorithm online and receive intermediate results of computation */
79- Online (observations chan []float64 , done chan struct {}) chan * SCEvent
80-
81- Clusterer
82- }
83-
8456type Estimator interface {
8557
8658 /* Estimates the numer of clusters */
You can’t perform that action at this time.
0 commit comments