http://sourceforge.net/projects/numpy/files/download the corresponding version of the NumPy, everywhere, find a not python2.7
Use Pip, please.
Pip Install NumPy
Download finished, the hint does not install C + +, meaning is also to install VS2008, but installed is VS2012, had to download a VC for Python
http://www.microsoft.com/en-us/download/confirmation.aspx?id=44266
Re-pip, wait for the most of the day, the final count is successful
Input command introduced NumPy
From numpy Import *
Operation:
Input
Random.rand (bis)
Transition to Matrix
Randmat=mat (Random.rand (bis))
To find the inverse of a matrix
Randmat.i
Save it to a variable.
Invrandmat=randmat.i
Multiply, the result should be the unit matrix, that is, the diagonal full 1, the others are 0
Randmat*invrandmat
Eye function to create a 4*4 unit matrix
Machine learning actual Combat reading notes (i) Machine learning basics