tag:blogger.com,1999:blog-3211409948956809184.post3684228535006424530..comments2024-03-21T04:14:27.443-07:00Comments on Large Scale Machine Learning and Other Animals: GraphChi parsers toolkitDanny Bicksonhttp://www.blogger.com/profile/01517237836051035400noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-3211409948956809184.post-25189933368944114762013-01-28T05:14:18.519-08:002013-01-28T05:14:18.519-08:00great! I got it now...
I made two files, i.e '...great! I got it now...<br />I made two files, i.e 'list' and 'movies'<br />the content of file 'list' contains the name of second file which is 'movies'. and then the content of 'movies' file contain values (customer_id, item_id, rating).<br /><br />it worked perfectly fine.<br /><br />Thank you.<br />BurhanBurhanhttps://www.blogger.com/profile/02054454976785378558noreply@blogger.comtag:blogger.com,1999:blog-3211409948956809184.post-37269244044269303962013-01-28T04:11:49.632-08:002013-01-28T04:11:49.632-08:00You need to create a file named "list" f...You need to create a file named "list" for example, with the file name :<br />movies<br />in the first line. Then you run with --file_list=list<br />and not --file_list=moviesDanny Bicksonhttps://www.blogger.com/profile/01517237836051035400noreply@blogger.comtag:blogger.com,1999:blog-3211409948956809184.post-52471441421647286722013-01-28T04:09:42.648-08:002013-01-28T04:09:42.648-08:00Dear Danny,
Thank you, it is compiled successfull...Dear Danny,<br /><br />Thank you, it is compiled successfully.<br /><br />Now I am experiancing err while parsing movies file. The format is below as per the documentation.<br /><br />==>movies file contains the following content with 'movies' as first line<br /><br />movies<br />Johny Walker,The Matrix (Director's Cut),5<br />Abba Babba,James Bond VII,3<br />Bondy Jr.,Titanic,1<br /><br />==>command<br /><br />mburhan@mburhan-Vostro-3460:~/graphchi/toolkits/parsers$ ./consecutive_matrix_market --file_list=movies --csv=1<br />WARNING: consecutive_matrix_market.cpp(main:188): GraphChi parsers library is written by Danny Bickson (c). Send any comments or bug reports to danny.bickson@gmail.com <br />[file_list] => [movies]<br />[csv] => [1]<br />ERROR: consecutive_matrix_market.cpp(parse:152): Error when parsing file: movies:1[movies]<br />Failed to open file: Johny<br />Burhanhttps://www.blogger.com/profile/02054454976785378558noreply@blogger.comtag:blogger.com,1999:blog-3211409948956809184.post-12434847946088980932013-01-28T03:29:36.685-08:002013-01-28T03:29:36.685-08:00HI Burhan!
Thanks for your note. I assume you are ...HI Burhan!<br />Thanks for your note. I assume you are using Ubuntu? We had a recent bug resulting to zlib usage. Anyway I fixed it - please retake from mercurial (using: "hg pull; hg update; make clean; make parsers") and let me know if it works!Danny Bicksonhttps://www.blogger.com/profile/01517237836051035400noreply@blogger.comtag:blogger.com,1999:blog-3211409948956809184.post-69382176118155371542013-01-28T02:55:22.855-08:002013-01-28T02:55:22.855-08:00Hi,
I have found that consecutive_market_matrix i...Hi,<br /><br />I have found that consecutive_market_matrix is inside parser folder and not in (./toolkits/collaborative_fitering/consecutive_matrix_market --file_list=list --csv=1)...kindly update the documentation.<br /><br />second, i am experancing err while compiling consecutive_matrix_market.<br /><br />mburhan@mburhan-Vostro-3460:~/graphchi$ make parsers<br />cd toolkits/parsers/; make<br />make[1]: Entering directory `/home/mburhan/graphchi/toolkits/parsers'<br />g++ -g -O3 -I/usr/local/include/ -I../../src/ -I. -lz -fopenmp -Wall -Wno-strict-aliasing adj.cpp -o adj<br />In file included from ../../src/preprocessing/conversions.hpp:38:0,<br /> from ../../src/graphchi_basic_includes.hpp:54,<br /> from adj.cpp:31:<br />../../src/preprocessing/sharder.hpp: In member function ‘void graphchi::sharder::write_shards() [with EdgeDataType = graphchi::dummy]’:<br />../../src/preprocessing/sharder.hpp:349:13: instantiated from ‘int graphchi::sharder::execute_sharding(std::string) [with EdgeDataType = graphchi::dummy, std::string = std::basic_string]’<br />../../src/preprocessing/conversions.hpp:556:65: instantiated from here<br />../../src/preprocessing/sharder.hpp:669:23: warning: variable ‘lastdst’ set but not used [-Wunused-but-set-variable]<br />/tmp/ccKFFWiY.o: In function `unsigned long write_compressed(int, char*, unsigned long)':<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:157: undefined reference to `deflateInit_'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:174: undefined reference to `deflate'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:188: undefined reference to `deflateEnd'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:178: undefined reference to `deflateEnd'<br />/tmp/ccKFFWiY.o: In function `void read_compressed(int, char*, unsigned long)':<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:213: undefined reference to `inflateInit_'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:234: undefined reference to `inflate'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:251: undefined reference to `inflateEnd'<br />/tmp/ccKFFWiY.o: In function `unsigned long write_compressed(int, unsigned char*, unsigned long)':<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:157: undefined reference to `deflateInit_'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:174: undefined reference to `deflate'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:188: undefined reference to `deflateEnd'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:178: undefined reference to `deflateEnd'<br />/tmp/ccKFFWiY.o: In function `void read_compressed(int, unsigned char*, unsigned long)':<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:213: undefined reference to `inflateInit_'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:234: undefined reference to `inflate'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:251: undefined reference to `inflateEnd'<br />/tmp/ccKFFWiY.o: In function `unsigned long write_compressed >(int, graphchi::edge_with_value*, unsigned long)':<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:157: undefined reference to `deflateInit_'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:174: undefined reference to `deflate'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:188: undefined reference to `deflateEnd'<br />/home/mburhan/graphchi/toolkits/parsers/../../src/util/ioutil.hpp:178: undefined reference to `deflateEnd'<br />collect2: ld returned 1 exit status<br />make[1]: *** [adj] Error 1<br />make[1]: Leaving directory `/home/mburhan/graphchi/toolkits/parsers'<br />make: *** [parsers] Error 2<br /><br /><br />Burhanhttps://www.blogger.com/profile/02054454976785378558noreply@blogger.com