Commit aaf8d44
authored
score_pairs refactor (#333)
* Remove 3.9 from compatibility
* First draft of refactoring BaseMetricLearner and Mahalanobis Learner
* Avoid warning related to score_pairs deprecation in tests of pair_calibraiton
* Minor fix
* Replaced score_pairs with pair_distance in tests
* Replace score_pairs with pair_distance inb docs.
* Fix weird commit
* Update classifiers to use pair_similarity
* Updated rst docs
* Fix identation
* Update docs of score_pairs, get_metric
* Add deprecation Test. Fix identation
* Fixed changes requested 1
* Fixed changes requested 2
* Add equivalence test, p_dist == p_score
* Fix tests and identation.
* Fixed changes requested 3
* Fix identation
* Last requested changes
* Last small detail1 parent e2c3e92 commit aaf8d44
File tree
9 files changed
+360
-106
lines changed- doc
- metric_learn
- test
9 files changed
+360
-106
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
85 | 97 | | |
86 | 98 | | |
87 | 99 | | |
| |||
93 | 105 | | |
94 | 106 | | |
95 | 107 | | |
96 | | - | |
97 | 108 | | |
98 | 109 | | |
99 | 110 | | |
| |||
105 | 116 | | |
106 | 117 | | |
107 | 118 | | |
| 119 | + | |
108 | 120 | | |
109 | 121 | | |
110 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
178 | 190 | | |
179 | 191 | | |
180 | 192 | | |
| |||
187 | 199 | | |
188 | 200 | | |
189 | 201 | | |
190 | | - | |
191 | | - | |
192 | 202 | | |
193 | 203 | | |
194 | 204 | | |
| |||
344 | 354 | | |
345 | 355 | | |
346 | 356 | | |
347 | | - | |
348 | | - | |
| 357 | + | |
| 358 | + | |
349 | 359 | | |
350 | 360 | | |
351 | 361 | | |
| |||
691 | 701 | | |
692 | 702 | | |
693 | 703 | | |
694 | | - | |
695 | | - | |
| 704 | + | |
| 705 | + | |
696 | 706 | | |
697 | 707 | | |
698 | 708 | | |
| |||
859 | 869 | | |
860 | 870 | | |
861 | 871 | | |
862 | | - | |
863 | | - | |
| 872 | + | |
| 873 | + | |
864 | 874 | | |
865 | 875 | | |
866 | 876 | | |
| |||
0 commit comments