とにかく行列の掛け算さえできればいい!と思ってごちゃごちゃやってみた 参考にさせてもらったサイト 良いもの。悪いもの。 機械学習序曲(仮) 1つ目のサイトで味をしめたので、2つ目のサイトに乗ってたPythonのプログラムを実行してみた。 ERROR! なんか(かなり)簡単に言うとnumpyのバージョンが違うらしい ということで自分なりに書き換えて見ました〜 ただ書き換えただけのプログラムを載せるのは憚れるので 変更点だけ! from Numeric import * from LinearAlgebra import * ↓ from scipy import * from numpy import * A = init('A.dat', num) B = init('B.dat', num) ↓ A = init('A.dat', num) B = init('B.dat', num)
Installations methods include: Distributions pip conda Package Manager Source Methods differ in ease of use, coverage, maintenance of old versions, system-wide versus local environment use, and control. With pip or Anaconda's conda, you can control the package versions for a specific project to prevent conflicts. Conda also controls non-Python packages, like MKL or HDF5. System package managers, l
I’ve promised to make an update whenever I would find a solution to the problem I had some months ago when I tried to use the latest MKL with numpy. Well, there was a simple hack that did the trick. It is far from being perfect, but at least, the tests pass now. So the only thing you have to do is to export the LD_PRELOAD variable:
Further to the post I wrote on the MKL performance improvement on NumPy, I have tried to get some figures comparing it to Matlab. Here are some results. Any suggestion to improve the comparison is welcome. I will update it with the different values I do collect. Here is the Matlab script I used to compare the Python code : disp('Eig');tic;data=rand(500,500);eig(data);toc; disp('Svd');tic;data=rand
Hi, I'm trying to install Numpy for Python 3 and am hoping that someone here can give me a hand. I've downloaded the source, extracted it and run: sudo python3 setup.py build sudo python3 setup.py install Now, when I run python3 and then import numpy from the interpreter, I get the error: Python 3.1.2 (release31-maint, Sep 17 2010, 20:34:23) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く