pconstr / irf Goto Github PK
View Code? Open in Web Editor NEWIncremental Random Forest
License: MIT License
Incremental Random Forest
License: MIT License
ubgpu@ubgpu:/github/irf/irf$ python setup.py install/github/irf/irf$
running install
running build
running build_ext
building 'irf' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c irfmodule.cpp -o build/temp.linux-x86_64-2.7/irfmodule.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c randomForest.cpp -o build/temp.linux-x86_64-2.7/randomForest.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c MurmurHash3.cpp -o build/temp.linux-x86_64-2.7/MurmurHash3.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
MurmurHash3.cpp:81:23: warning: always_inline function might not be inlinable [-Wattributes]
FORCE_INLINE uint64_t fmix ( uint64_t k )
^
MurmurHash3.cpp:68:23: warning: always_inline function might not be inlinable [-Wattributes]
FORCE_INLINE uint32_t fmix ( uint32_t h )
^
MurmurHash3.cpp:60:23: warning: always_inline function might not be inlinable [-Wattributes]
FORCE_INLINE uint64_t getblock ( const uint64_t * p, int i )
^
MurmurHash3.cpp:55:23: warning: always_inline function might not be inlinable [-Wattributes]
FORCE_INLINE uint32_t getblock ( const uint32_t * p, int i )
^
MurmurHash3.cpp: In function ‘void MurmurHash3_x86_32(const void_, int, uint32_t, void_)’:
MurmurHash3.cpp:55:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t_, int)’: function body can be overwritten at link time
MurmurHash3.cpp:112:36: error: called from here
uint32_t k1 = getblock(blocks,i);
^
MurmurHash3.cpp:68:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time
FORCE_INLINE uint32_t fmix ( uint32_t h )
^
MurmurHash3.cpp:143:16: error: called from here
h1 = fmix(h1);
^
MurmurHash3.cpp: In function ‘void MurmurHash3_x86_128(const void_, int, uint32_t, void_)’:
MurmurHash3.cpp:55:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t_, int)’: function body can be overwritten at link time
FORCE_INLINE uint32_t getblock ( const uint32_t * p, int i )
^
MurmurHash3.cpp:173:40: error: called from here
uint32_t k1 = getblock(blocks,i_4+0);
^
MurmurHash3.cpp:55:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t_, int)’: function body can be overwritten at link time
FORCE_INLINE uint32_t getblock ( const uint32_t * p, int i )
^
MurmurHash3.cpp:174:40: error: called from here
uint32_t k2 = getblock(blocks,i_4+1);
^
MurmurHash3.cpp:55:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t_, int)’: function body can be overwritten at link time
FORCE_INLINE uint32_t getblock ( const uint32_t * p, int i )
^
MurmurHash3.cpp:175:40: error: called from here
uint32_t k3 = getblock(blocks,i_4+2);
^
MurmurHash3.cpp:55:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t_, int)’: function body can be overwritten at link time
FORCE_INLINE uint32_t getblock ( const uint32_t * p, int i )
^
MurmurHash3.cpp:176:40: error: called from here
uint32_t k4 = getblock(blocks,i_4+3);
^
MurmurHash3.cpp:68:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time
FORCE_INLINE uint32_t fmix ( uint32_t h )
^
MurmurHash3.cpp:239:16: error: called from here
h1 = fmix(h1);
^
MurmurHash3.cpp:68:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time
FORCE_INLINE uint32_t fmix ( uint32_t h )
^
MurmurHash3.cpp:240:16: error: called from here
h2 = fmix(h2);
^
MurmurHash3.cpp:68:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time
FORCE_INLINE uint32_t fmix ( uint32_t h )
^
MurmurHash3.cpp:241:16: error: called from here
h3 = fmix(h3);
^
MurmurHash3.cpp:68:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time
FORCE_INLINE uint32_t fmix ( uint32_t h )
^
MurmurHash3.cpp:242:16: error: called from here
h4 = fmix(h4);
^
MurmurHash3.cpp: In function ‘void MurmurHash3_x64_128(const void_, int, uint32_t, void_)’:
MurmurHash3.cpp:60:23: error: inlining failed in call to always_inline ‘uint64_t getblock(const uint64_t_, int)’: function body can be overwritten at link time
FORCE_INLINE uint64_t getblock ( const uint64_t * p, int i )
^
MurmurHash3.cpp:274:40: error: called from here
uint64_t k1 = getblock(blocks,i_2+0);
^
MurmurHash3.cpp:60:23: error: inlining failed in call to always_inline ‘uint64_t getblock(const uint64_t_, int)’: function body can be overwritten at link time
FORCE_INLINE uint64_t getblock ( const uint64_t * p, int i )
^
MurmurHash3.cpp:275:40: error: called from here
uint64_t k2 = getblock(blocks,i*2+1);
^
MurmurHash3.cpp:81:23: error: inlining failed in call to always_inline ‘uint64_t fmix(uint64_t)’: function body can be overwritten at link time
FORCE_INLINE uint64_t fmix ( uint64_t k )
^
MurmurHash3.cpp:324:16: error: called from here
h1 = fmix(h1);
^
MurmurHash3.cpp:81:23: error: inlining failed in call to always_inline ‘uint64_t fmix(uint64_t)’: function body can be overwritten at link time
FORCE_INLINE uint64_t fmix ( uint64_t k )
^
MurmurHash3.cpp:325:16: error: called from here
h2 = fmix(h2);
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ubgpu@ubgpu:
ubgpu@ubgpu:/github/irf/irf$/github/irf/irf$
ubgpu@ubgpu:
ubgpu@ubgpu:~/github/irf/irf$
seems no makefile to build
I tried installing fresh with both node 0.8.8 and node 0.10.0, and they both install-failing errors:
node-gyp rebuild
/bin/sh: pkg-config: command not found
gyp: Call to 'pkg-config --cflags libsparsehash' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:416:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System Darwin 11.4.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/danfinlay/Projects/node_modules/irf
gyp ERR! node -v v0.8.8
gyp ERR! node-gyp -v v0.8.4
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the irf package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls irf
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 11.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "irf"
npm ERR! cwd /Users/danfinlay/Projects/
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/danfinlay/Projects/npm-debug.log
npm ERR! not ok code 0```
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.