Skip to content

Instantly share code, notes, and snippets.

View MuhammedBuyukkinaci's full-sized avatar
💭
Makers gonna make.

Muhammed Buyukkinaci MuhammedBuyukkinaci

💭
Makers gonna make.
View GitHub Profile
@mbstacy
mbstacy / EKSvsEC2.md
Last active September 20, 2023 04:53
EKS vs EC2 Kubernetes Costs

Kubernetes Cost Comparison EC2 vs EKS

EKS Kubernetes

AWS EKS service provides the Kubernetes control plane. Price for EKS Service is $0.20 per hour / cluster.

EKS Use Case Monthly Cost

Three clusters with four worker nodes.

@jkukul
jkukul / march_madness.py
Last active March 16, 2021 03:01
Script to calculate your current score in Kaggle's March madness competition.
# 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
@MBoustani
MBoustani / lstm_text_generator.py
Last active April 2, 2022 20:14
Simple Tensorflow RNN LSTM text generator
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
@roopalgarg
roopalgarg / tensorflow-add-noise.py
Created March 11, 2017 08:04
tensorflow: add noise
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')

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

@yusugomori
yusugomori / Dropout.py
Last active March 13, 2023 05:46
Dropout Neural Networks (with ReLU)
# -*- coding: utf-8 -*-
import sys
import numpy
numpy.seterr(all='ignore')
'''