skbio.stats.distance.DissimilarityMatrix.__eq__¶
- DissimilarityMatrix.__eq__(other)[源代码]¶
- 将此相异矩阵与另一个矩阵进行比较,以求相等。 - 状态:从0.4.0开始实验。 - 如果两个不相似矩阵具有相同的形状、ID(顺序相同!)并且具有相等的数据数组,则它们是相等的。 - 支票是 not 执行以确保 other 是一种 DissimilarityMatrix 举个例子。 - 参数:
- other (DissimilarityMatrix) -- 要与之比较以求相等的不同矩阵。 
- 返回:
- True如果 self 等于 other ,- False否则的话。
- 返回类型:
- bool 
 
