This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sh leakage.sh | |
WARNING: Logging before InitGoogleLogging() is written to STDERR | |
I1004 19:15:11.682617 8069 net.cpp:58] Initializing net from parameters: | |
name: "Housing" | |
state { | |
phase: TRAIN | |
level: 0 | |
} | |
layer { | |
type: "MemoryData" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import gzip | |
import numpy as np | |
import lmdb | |
import caffe | |
import six.moves.cPickle as pickle | |
def load_data(dataset): | |
data_dir, data_file = os.path.split(dataset) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MNIST | |
sigmoid(z) = 1 ./ (1 + exp(-z)) | |
# load MNIST data | |
println("Loading MNIST dataset...") | |
X_train, y_train = traindata() | |
X_test, y_test = testdata() | |
y_train, y_test = y_train', y_test' | |
# mean normalization |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
*.pyc | |
a.out |
NewerOlder