Skip to content

Instantly share code, notes, and snippets.

View hurutoriya's full-sized avatar
🎯
Focusing

Shunya Ueta hurutoriya

🎯
Focusing
View GitHub Profile
@hurutoriya
hurutoriya / spectral_clustering.py
Last active August 29, 2015 14:08
Basic Spectral Clustering Code
#!/usr/local/Cellar/python/2.7.6/bin/python
# -*- coding: utf-8 -*-
import sys
import scipy.misc, scipy.io, scipy.optimize, scipy.cluster.vq, scipy.spatial
from numpy import *
#import matplotlib as mpl
from matplotlib import pyplot, cm, colors, lines, animation
import matplotlib.pyplot as plt
@hurutoriya
hurutoriya / README_TEMPLATE.md
Last active August 29, 2015 14:15
README.md のテンプレートファイル

Name

Overview

Description

Demo

VS.

@hurutoriya
hurutoriya / beamer_templete.tex
Last active August 29, 2015 14:16
My beamer templete
\documentclass[dvipdfmx]{beamer}
%%%%% VIEW %%%%%
\usetheme{Szeged}
\usecolortheme{orchid}
\usefonttheme{professionalfonts} % Math Font
\setbeamertemplate{footline}[frame number] % only frame number in footer
\setbeamertemplate{navigation symbols}{} % remove navigation symbol
\renewcommand{\familydefault}{\sfdefault}% font chenge to Sans-serif in English
@hurutoriya
hurutoriya / howtorun-MATLAB-on-jupyte.md
Last active January 26, 2016 08:56
How to run the Matlab and Julia on Jupyter.

How to Run the any Language on Jupyter Notebook

Jupyter is next generation notebook.

http://jupyter.org/

I tried running any language on Jupyter Notebook(in Mac).

This post for Note to easy catch up.

@hurutoriya
hurutoriya / how-to-public-jupuyernotebook-on-remote-server.md
Last active January 29, 2016 05:00
How to public jupuyernotebook on remote server?

Access to remote server. and we user PYENV for set up python environment.

$ ssh your_remote_server
$ git clone https://github.com/yyuu/pyenv.git ~/.pyenv
$ vim .zshrc
export PYENV_ROOT=$HOME/.pyenv
export PATH=$PYENV_ROOT/bin:$PATH
@hurutoriya
hurutoriya / Note.ipynb
Last active February 2, 2016 05:24
IPython Date Science Cook Book
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hurutoriya
hurutoriya / compare_variance_of_gaussian_kernel_in_graph.ipynb
Last active February 9, 2016 15:10
localscale vs empiric value in variance value of Gaussian kernel..ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
n = 5;
res = 10^(-13);
A = rand(n,n);
A = A'+A;
x = rand(n,1)
x_1 = A*x;
ite = 0;
while res < abs(norm(x_1)-norm(x))