AWS EKS service provides the Kubernetes control plane. Price for EKS Service is $0.20 per hour / cluster.
Three clusters with four worker nodes.
| # python3 | |
| # | |
| # Example usage: | |
| # python get_score.py --gender M --submissions-file SampleSubmissionStage2.csv | |
| # | |
| # TeamSpellings.csv and/or WTeamSpellings.csv file must be present in the current directory | |
| import argparse | |
| from math import log | |
| import pandas as pd |
| import tensorflow as tf | |
| import numpy as np | |
| #set hyperparameters | |
| max_len = 40 | |
| step = 2 | |
| num_units = 128 | |
| learning_rate = 0.001 | |
| batch_size = 200 | |
| epoch = 60 |
| import tensorflow as tf | |
| import numpy as np | |
| def gaussian_noise_layer(input_layer, std): | |
| noise = tf.random_normal(shape=tf.shape(input_layer), mean=0.0, stddev=std, dtype=tf.float32) | |
| return input_layer + noise | |
| inp = tf.placeholder(tf.float32, shape=[None, 8], name='input') |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
| # -*- coding: utf-8 -*- | |
| import sys | |
| import numpy | |
| numpy.seterr(all='ignore') | |
| ''' |