Skip to content

Commit 586842c

Browse files
committed
Removed unused interfaces and structs
1 parent dda495a commit 586842c

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

clusters.go

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff 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. */
2722
type 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-
8456
type Estimator interface {
8557

8658
/* Estimates the numer of clusters */

0 commit comments

Comments
 (0)