File tree Expand file tree Collapse file tree 3 files changed +77
-20
lines changed Expand file tree Collapse file tree 3 files changed +77
-20
lines changed Original file line number Diff line number Diff line change
1
+ Large Margin Nearest Neighbor (LMNN)
2
+ =====================================
3
+
4
+ todo: Brief desciption or a link.
5
+
6
+ Example Code
7
+ ------------------
8
+ Using two different implementations:
9
+
10
+ ::
11
+
12
+ for LMNN_cls in set((LMNN, python_LMNN)):
13
+ lmnn = LMNN_cls(k=k, learn_rate=1e-6)
14
+ lmnn.fit(self.iris_points, self.iris_labels, verbose=False)
15
+
16
+ csep = class_separation(lmnn.transform(), self.iris_labels)
17
+ self.assertLess(csep, 0.25)
18
+
19
+ References
20
+ ------------------
21
+
22
+
23
+
24
+ Information Theoretic Metric Learning (ITML)
25
+ =====================================
26
+
27
+ Example Code
28
+ ------------------
29
+
30
+ References
31
+ ------------------
32
+
33
+
34
+
35
+ Sparse Determinant Metric Learning (SDML)
36
+ =====================================
37
+
38
+ Example Code
39
+ ------------------
40
+
41
+ References
42
+ ------------------
43
+
44
+
45
+
46
+ Least Squares Metric Learning (LSML)
47
+ =====================================
48
+
49
+ Example Code
50
+ ------------------
51
+
52
+ References
53
+ ------------------
54
+
55
+
56
+
57
+ Neighborhood Components Analysis (NCA)
58
+ =====================================
59
+
60
+ Example Code
61
+ ------------------
62
+
63
+ References
64
+ ------------------
65
+
66
+
67
+
68
+ Local Fisher Discriminant Analysis (LFDA)
69
+ =====================================
70
+
71
+ Example Code
72
+ ------------------
73
+
74
+ References
75
+ ------------------
76
+
Original file line number Diff line number Diff line change @@ -12,14 +12,13 @@ Contents:
12
12
:maxdepth: 2
13
13
14
14
intro
15
- lmnn
15
+ algorithms
16
16
17
17
18
18
19
19
Indices and tables
20
20
==================
21
21
22
22
* :ref: `genindex `
23
- * :ref: `modindex `
24
23
* :ref: `search `
25
24
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments