msaf/algorithms/foote/segmenter.py
def median_filter(X, M=8):
    """Median filter along the first axis of the feature matrix X."""
    for i in range(X.shape[1]):
        X[:, i] = filters.median_filter(X[:, i], size=M)
    return X
def median_filter(X, M=8):
    for i in range(X.shape[1]):
        X[:, i] = filters.median_filter(X[:, i], size=M)
    return X
def median_filter ( X , M = 8 ) : for i in range ( X . shape [ 1 ] ) : X [ : , i ] = filters . median_filter ( X [ : , i ] , size = M ) return X
Median filter along the first axis of the feature matrix X.
Median filter along the first axis of the feature matrix X .