compat.v0.iSIL¶
- class compat.v0.iSIL¶
Bases:
objectIncremental Silhouette (SIL) index.
- __init__()¶
SIL constructor.
Methods
__init__()SIL constructor.
cp_update(x, i)SIL CP update.
s_ij_new(x, i, j, J, nj, nj_old, cpj_old, ...)Computes the updated S_ij entry.
s_ij_new_cluster(x, i, j, J, nj_old, ...)TODO
sci(i, J)TODO
update(x, c_i)SIL incremental update.
- s_ij_new(x: ndarray, i: int, j: int, J: int, nj: int, nj_old: int, cpj_old: float, vj: ndarray, vi: ndarray, gj_old: ndarray, sij_old: float) float¶
Computes the updated S_ij entry.
- s_ij_new_cluster(x: ndarray, i: int, j: int, J: int, nj_old: int, cpj_old: float, vi_new: ndarray, vi_old: ndarray, gj_old: ndarray, sij_old: float) float¶
TODO