This file contains hidden or 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
############################### | |
Install Docker | |
############################### | |
# get a docker instalation script | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
# execute the instalation script | |
sudo sh get-docker.sh | |
This file contains hidden or 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
for i in range(nb_epochs): | |
np.random.shufle(data) | |
for example in get(batches(data, batch_size=50): | |
params_grad = evaluate_gradient(loss_function, batch, params) | |
params = params - learning_rate * params_grad |
This file contains hidden or 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
for i in range(nb_epochs): | |
np.random.shufle(data) | |
for example in data: | |
params_grad = evaluete_gradient(loss_function, example, params) | |
params = params - learning_rate * params_grad |
NewerOlder