On Tue, Jun 12, 2012 at 1:03 AM, Justin R wrote:
> operating system Windows 7
> matplotlib version : 1.1.0
> obtained from sourceforge
>
> the class seems to generate the same Wt matrix for every input. The
> every element of the weight matrix is either +sqrt(1/2) or -sqrt(1/2).
>
> dat1 = 4*np.ra
2012/6/12 Paul Hobson :
> On Mon, Jun 11, 2012 at 11:03 PM, Justin R wrote:
> Justin, could you post a self-contained script that demonstrates the
> issue? Where does this PCA function come from?
It comes from matplotlib.mlab. Just add these imports before the OP's code:
import numpy as np
from
On Tue, Jun 12, 2012 at 11:59 AM, Paul Hobson wrote:
> On Mon, Jun 11, 2012 at 11:03 PM, Justin R wrote:
> > operating system Windows 7
> > matplotlib version : 1.1.0
> > obtained from sourceforge
> >
> > the class seems to generate the same Wt matrix for every input. The
> > every element of th
On Mon, Jun 11, 2012 at 11:03 PM, Justin R wrote:
> operating system Windows 7
> matplotlib version : 1.1.0
> obtained from sourceforge
>
> the class seems to generate the same Wt matrix for every input. The
> every element of the weight matrix is either +sqrt(1/2) or -sqrt(1/2).
>
> dat1 = 4*np.r
operating system Windows 7
matplotlib version : 1.1.0
obtained from sourceforge
the class seems to generate the same Wt matrix for every input. The
every element of the weight matrix is either +sqrt(1/2) or -sqrt(1/2).
dat1 = 4*np.random.randn(200,1) + 2
dat2 = dat1*.25 + 1*np.random.randn(200,1)