This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\OpenCourses\ufldl\ref\Theano\bin>python theano-nose --batch | |
Forcing DISTUTILS_USE_SDK=1 | |
WARNING (theano.tensor.blas): Failed to import scipy.linalg.blas. Falling back o | |
n slower implementations (DLL load failed: 找不到指定的模块。) | |
#################### | |
# COLLECTING TESTS # | |
#################### | |
WARNING (theano.tensor.blas): Failed to import scipy.linalg.blas. Falling back o | |
n slower implementations (DLL load failed: 找不到指定的模块。) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> import theano.misc.check_blas | |
>>> theano.misc.check_blas.test() | |
Some Theano flags: | |
blas.ldflags= -lopenblas | |
compiledir= R:\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_58_S | |
tepping_9_GenuineIntel-2.7.3-64 | |
floatX= float64 | |
device= cpu | |
Some environment variables: | |
MKL_NUM_THREADS= None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ... Xtrain/Xtest/ytrain/ytest/ntest/ | |
tic | |
% sum of squares term for speed | |
XtrainSOS = sum(Xtrain.^2,2); | |
XtestSOS = sum(Xtest.^2,2); | |
ypred = zeros(ntest,1); | |
% Classify | |
dst = sqDistance(Xtest(:,:),Xtrain,XtestSOS(:,:),XtrainSOS); | |
[~,closest] = min(dst,[],2); |
NewerOlder