Py

scipy

SciPyのインストールのページの最初に書いてあった

Installing SciPy / Windows If you already have Python installed, the easiest way to install Numpy and Scipy is to download and install the binary distribution from Download.If you do not have Python installed on your system you can install…

とりあえずPythonで行列の演算 〜MATLABとどっちがはやいかな?〜

何度もすいません ちょっと舞い上がったので更新しますMATLABと比較しました(そんだけですけど %MATLAB num=1000; A=rand(num); B=rand(num); %行列の積 tic; M=A*B; t=toc; fprintf('行列積 %dx%d: %.3f\n',num,num,t); %逆行列 tic; M=inv(M); t=toc; fpr…

とりあえずPythonで行列の演算

とにかく行列の掛け算さえできればいい!と思ってごちゃごちゃやってみた参考にさせてもらったサイト 良いもの。悪いもの。 機械学習序曲(仮)1つ目のサイトで味をしめたので、2つ目のサイトに乗ってたPythonのプログラムを実行してみた。 ERROR! なんか(…