Did I find the right examples for you? yes no

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/m/o/morb-HEAD/examples/example_mnist_autoenc.py   morb(Download)
plt.ion()
 
from utils import generate_data, get_context, visualise_filters
 
# DEBUGGING
    plt.figure(4)
    plt.clf()
    visualise_filters(rbm.W.var.get_value(), dim=28)
    plt.colorbar()
    plt.title("filters")

src/k/a/kaggle-whales-HEAD/pipeline_specgram_as_features.py   kaggle-whales(Download)
def visualise_features(P, centroids):
    PC = np.dot(centroids, P.T)
    plt.figure(figsize=(12,8))
    utils.visualise_filters(PC.T, settings['patch_height'], settings['patch_width'], posneg=False)
    plt.draw()

src/k/a/kaggle-whales-HEAD/pipeline_evaluate_smoothing.py   kaggle-whales(Download)
def visualise_features(P, centroids):
    PC = np.dot(centroids, P.T)
    plt.figure(figsize=(12,8))
    utils.visualise_filters(PC.T, settings['patch_height'], settings['patch_width'], posneg=False)
    plt.draw()

src/k/a/kaggle-whales-HEAD/pipeline.py   kaggle-whales(Download)
def visualise_features(P, centroids):
    PC = np.dot(centroids, P.T)
    plt.figure(figsize=(12,8))
    utils.visualise_filters(PC.T, settings['patch_height'], settings['patch_width'], posneg=False)
    plt.draw()