Skip to content

Instantly share code, notes, and snippets.

View yuckiymouse's full-sized avatar
😁
fun to improve skills

Yuki's studio yuckiymouse

😁
fun to improve skills
  • Japan
View GitHub Profile
@yuckiymouse
yuckiymouse / quick_sort.py
Created September 23, 2019 10:31
quick sort
def quick_sort(arr):
# make 2 groups
left = []
right = []
if len(arr) <= 1:
return arr
# pick random number as pivot
ref = random.choice(arr)
@yuckiymouse
yuckiymouse / readme.md
Created January 20, 2018 09:51 — forked from baraldilorenzo/readme.md
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman

@yuckiymouse
yuckiymouse / dog_app.ipynb
Created January 8, 2018 18:28
Project 2 - detecting dog breed
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yuckiymouse
yuckiymouse / tensorflow.math.practice
Created December 11, 2017 16:16
tensorflow math- practice
import tensorflow as tf
x = tf.constant(10)
y = tf.constant(2)
z = tf.subtract(tf.divide(x, y), tf.cast(tf.constant(1), tf.float64))
with tf.Session() as sess:
output = sess.run(z)
print(output)
@yuckiymouse
yuckiymouse / neural network
Last active December 3, 2017 13:11
udacity project1
import numpy as np
class NeuralNetwork(object):
def __init__(self, input_nodes, hidden_nodes, output_nodes, learning_rate):
# Set number of nodes in input, hidden and output layers.
self.input_nodes = input_nodes
self.hidden_nodes = hidden_nodes
self.output_nodes = output_nodes