We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c945427 commit 352ff57Copy full SHA for 352ff57
modAL/cluster.py
@@ -4,18 +4,15 @@
4
========================================
5
"""
6
7
-import numpy as np
8
-from sklearn.cluster.hierarchical import AgglomerativeClustering, _hc_cut
+from sklearn.cluster.hierarchical import AgglomerativeClustering
9
10
11
class HierarchicalClustering:
12
- def __init__(self, X, classes, n_batch=1):
13
- self.classes = classes
14
- self.cluster = AgglomerativeClustering(compute_full_tree=True)
15
- self.cluster.fit(X)
+ def __init__(self):
+ return NotImplemented
16
17
def __call__(self, *args, **kwargs):
18
- pass
19
20
def compute_errors(self):
21
0 commit comments