def selfSimilarityMatrix(featureVectors):

    [nDims, nVectors] = featureVectors.shape
    [featureVectors2, MEAN, STD] = aT.normalizeFeatures([featureVectors.T])
    featureVectors2 = featureVectors2[0].T
    S = 1.0 - distance.squareform(distance.pdist(featureVectors2.T, 'cosine'))
    return S
Get list of used DRBD minors.
dataset/ETHPy150Open tyiannak/pyAudioAnalysis/audioSegmentation.py/selfSimilarityMatrix--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/watcher/nodemaint.py/NodeMaintenance.GetUsedDRBDs