Skip to content

Instantly share code, notes, and snippets.

View corochann's full-sized avatar

corochann corochann

View GitHub Profile
@sinhrks
sinhrks / vis_mlp.py
Last active March 8, 2016 14:06
Visualize Multilayer Perceptron Example in deeplearning.net
"""
This code is used to visualize
http://deeplearning.net/tutorial/mlp.html#tips-and-tricks-for-training-mlps
Usage: put the following on 389th line
title = "whatever you want"
plot_pca(classifier, x, train_set_x, train_set_y, index=epoch, title=title)
"""
def plot_pca(classifier, x_symbol, x_data, y_data, index=0,
@fukatani
fukatani / hyperopt_chainer.py
Last active February 25, 2019 07:08
How to hyperparameter of deep learning by hyperopt.
try:
import matplotlib
matplotlib.use('Agg')
except ImportError:
pass
import chainer
import chainer.functions as F
import chainer.links as L
from chainer import training
@gansanay
gansanay / hdf_vs_feather.ipynb
Last active June 26, 2023 12:25
Compare HDF5 and Feather performance (speed, file size) for storing / reading pandas dataframes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.