fukuball / fuku-ml Goto Github PK
View Code? Open in Web Editor NEWSimple machine learning library / 簡單易用的機器學習套件
Home Page: https://github.com/fukuball/FukuML-Tutorial
License: MIT License
Simple machine learning library / 簡單易用的機器學習套件
Home Page: https://github.com/fukuball/FukuML-Tutorial
License: MIT License
2/N(XTXw - XTy)
Collecting FukuML
Downloading FukuML-0.4.1-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 490kB/s
Collecting cvxopt==1.1.8 (from FukuML)
Downloading cvxopt-1.1.8.tar.gz (5.3MB)
100% |████████████████████████████████| 5.3MB 167kB/s
Collecting scikit-learn==0.17.1 (from FukuML)
Downloading scikit_learn-0.17.1-cp27-cp27mu-manylinux1_x86_64.whl (17.6MB)
100% |████████████████████████████████| 17.6MB 69kB/s
Collecting scipy==0.17.0 (from FukuML)
Downloading scipy-0.17.0-cp27-cp27mu-manylinux1_x86_64.whl (39.5MB)
100% |████████████████████████████████| 39.5MB 36kB/s
Collecting numpy==1.10.4 (from FukuML)
Downloading numpy-1.10.4-cp27-cp27mu-manylinux1_x86_64.whl (15.0MB)
100% |████████████████████████████████| 15.0MB 79kB/s
Requirement already satisfied: pep8==1.7.0 in /mnt/disk1/anaconda2/lib/python2.7/site-packages (from FukuML)
Building wheels for collected packages: cvxopt
Running setup.py bdist_wheel for cvxopt ... error
Complete output from command /mnt/disk1/anaconda2/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Yide8J/cvxopt/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpr_lP_apip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/cvxopt
copying src/python/coneprog.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/modeling.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/printing.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/cvxprog.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/info.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/init.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/msk.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/solvers.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/misc.py -> build/lib.linux-x86_64-2.7/cvxopt
running build_ext
building 'base' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/C
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/disk1/anaconda2/include/python2.7 -c src/C/base.c -o build/temp.linux-x86_64-2.7/src/C/base.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/disk1/anaconda2/include/python2.7 -c src/C/dense.c -o build/temp.linux-x86_64-2.7/src/C/dense.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/disk1/anaconda2/include/python2.7 -c src/C/sparse.c -o build/temp.linux-x86_64-2.7/src/C/sparse.o
src/C/sparse.c: In function ‘sparse_concat’:
src/C/sparse.c:368:30: warning: variable ‘blk_ncols’ set but not used [-Wunused-but-set-variable]
int_t blk_nrows = 0, blk_ncols = 0;
^
gcc -pthread -shared -L/mnt/disk1/anaconda2/lib -Wl,-rpath=/mnt/disk1/anaconda2/lib,--no-as-needed build/temp.linux-x86_64-2.7/src/C/base.o build/temp.linux-x86_64-2.7/src/C/dense.o build/temp.linux-x86_64-2.7/src/C/sparse.o -L/usr/lib -L/mnt/disk1/anaconda2/lib -lm -llapack -lblas -lpython2.7 -o build/lib.linux-x86_64-2.7/cvxopt/base.so
/usr/bin/ld: 找不到 -llapack
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Failed building wheel for cvxopt
Running setup.py clean for cvxopt
Failed to build cvxopt
Installing collected packages: cvxopt, scikit-learn, scipy, numpy, FukuML
Running setup.py install for cvxopt ... error
Complete output from command /mnt/disk1/anaconda2/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Yide8J/cvxopt/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-vV2hrJ-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/cvxopt
copying src/python/coneprog.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/modeling.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/printing.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/cvxprog.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/info.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/init.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/msk.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/solvers.py -> build/lib.linux-x86_64-2.7/cvxopt
copying src/python/misc.py -> build/lib.linux-x86_64-2.7/cvxopt
running build_ext
building 'base' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/C
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/disk1/anaconda2/include/python2.7 -c src/C/base.c -o build/temp.linux-x86_64-2.7/src/C/base.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/disk1/anaconda2/include/python2.7 -c src/C/dense.c -o build/temp.linux-x86_64-2.7/src/C/dense.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/disk1/anaconda2/include/python2.7 -c src/C/sparse.c -o build/temp.linux-x86_64-2.7/src/C/sparse.o
src/C/sparse.c: In function ‘sparse_concat’:
src/C/sparse.c:368:30: warning: variable ‘blk_ncols’ set but not used [-Wunused-but-set-variable]
int_t blk_nrows = 0, blk_ncols = 0;
^
gcc -pthread -shared -L/mnt/disk1/anaconda2/lib -Wl,-rpath=/mnt/disk1/anaconda2/lib,--no-as-needed build/temp.linux-x86_64-2.7/src/C/base.o build/temp.linux-x86_64-2.7/src/C/dense.o build/temp.linux-x86_64-2.7/src/C/sparse.o -L/usr/lib -L/mnt/disk1/anaconda2/lib -lm -llapack -lblas -lpython2.7 -o build/lib.linux-x86_64-2.7/cvxopt/base.so
/usr/bin/ld: 找不到 -llapack
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/mnt/disk1/anaconda2/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Yide8J/cvxopt/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-vV2hrJ-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Yide8J/cvxopt/
Lasso Regression 實作(L1),要找一下資料
寫一些 ipython note book tutorial~
x_normed = x / x.max(axis=0)
PLA, Pocket, Logistic Regression 的 init_W 可先用 linear regression 算出 w0
2(y - wx)x
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.