Skip to content

Commit ac6d7a6

Browse files
committed
[Issue #29] Update README.md
1 parent c9b89a1 commit ac6d7a6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@ You can set `custom_dist="cosine"` when initializing your `SpectralClusterer` ob
133133

134134
You can also use other distances supported by [scipy.spatial.distance](https://docs.scipy.org/doc/scipy/reference/spatial.distance.html), such as `"euclidean"` or `"mahalanobis"`.
135135

136+
### Affinity matrix
137+
138+
In our [ICASSP 2018 paper](https://google.github.io/speaker-id/publications/LstmDiarization/),
139+
the affinity between two embeddings is defined as `(cos(x,y)+1)/2`.
140+
141+
You can also use other affinity functions by setting `affinity_function` when initializing your `SpectralClusterer` object.
142+
136143
### Auto-tune
137144

138145
We also support auto-tuning the `p_percentile` parameter of the `RowWiseThreshold` refinement operation, which was original proposed in [this paper](https://arxiv.org/abs/2003.02405).

0 commit comments

Comments
 (0)