Skip to content

Instantly share code, notes, and snippets.

View yumatsuoka's full-sized avatar

YumaMatsuoka yumatsuoka

  • Tokyo
View GitHub Profile
#!/usr/sbin/env python
# -*- coding: utf-8 -*-
# Fizz_Buzz
from __future__ import print_function
print("easy ver\n")
for i in range(1, 101):
if i % 15 == 0:
print("fizzbuzz")
@yumatsuoka
yumatsuoka / CVML_2-n 2-2.ipynb
Created August 11, 2016 18:31
Exercise on image processing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yumatsuoka
yumatsuoka / 2 layer neural net.ipynb
Created August 13, 2016 14:55
training 2 layer neural network. Used only numpy library on randomize list and indexing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yumatsuoka
yumatsuoka / 3 layer neural net smarter .ipynb
Last active August 14, 2016 18:19
apply 3 layer neural network to 'XOR problem' and 'UCI Iris dataset'.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yumatsuoka
yumatsuoka / 3+layer+neural+net+smarter+.py
Created August 14, 2016 18:52
Python script version. It's same content as the former jupyter script.
# coding: utf-8
# XOR, UCI_Iris datasetを解くNeuralNetwork
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import six, math, random, time
import pandas as pd
import matplotlib.pyplot as plt
@yumatsuoka
yumatsuoka / [numpy]3 layer neural net.ipynb
Created August 16, 2016 03:59
reconstruct former 3 layer neural net applied to XOR and Iris dataset with Numpy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yumatsuoka
yumatsuoka / [numpy]3 layer neural net.py
Created August 16, 2016 04:09
python script version former numpy neural network
# coding: utf-8
# 非線形問題を解くNeuralNetwork(Numpy)
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import six, time
import numpy as np
import pandas as pd
@yumatsuoka
yumatsuoka / make shuffle and combination.ipynb
Last active November 8, 2016 04:50
Make a batch size of shuffle and combination array on a dataset
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yumatsuoka
yumatsuoka / otsu numpy.ipynb
Created August 12, 2016 12:55
大津の2値化(Otsu method)をPython(Numpy)を使って実装
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yumatsuoka
yumatsuoka / pca+svm_gridsearch.ipynb
Created December 22, 2016 15:14
PCA + SVM with GridSearch using Scikit-learn
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.