Skip to content

Instantly share code, notes, and snippets.

# coding: utf-8
# Imports
import os
import cPickle
import numpy as np
import theano
import theano.tensor as T
@satomacoto
satomacoto / cca.py
Created April 7, 2013 06:34
正準相関分析(Canonical correlation analysis; cca)
#!/usr/bin/env python
# -*- coding:utf-8 -*-
'''
正準相関分析
cca.py
'''
import numpy as np
import scipy as sp
from scipy import linalg as LA