skbio.stats.distance.DistanceMatrix.redundant_form

DistanceMatrix.redundant_form()[source]

Return an array of dissimilarities in redundant format.

State: Experimental as of 0.4.0.

As this is the native format that the dissimilarities are stored in, this is simply an alias for data.

Returns:Two-dimensional numpy.ndarray of dissimilarities in redundant format.
Return type:ndarray

Notes

Redundant format is described in [1].

Does not return a copy of the data.

References

[1]http://docs.scipy.org/doc/scipy/reference/spatial.distance.html