pub fn inconsistent<F: Float + FromPrimitive + Debug>(
z: &Array2<F>,
d: Option<usize>,
) -> Result<Array2<F>>Expand description
Calculates the inconsistency of each merge in the linkage matrix
Inconsistency is a measure of how consistent a merge is with respect to its neighbors.
§Arguments
z- The linkage matrix from thelinkagefunctiond- Number of levels to consider in calculating inconsistency (default: 2)
§Returns
Result<Array2<F>>- The inconsistency matrix