mlpack IRC logs, 2018-03-08

Logs for the day 2018-03-08 (starts at 0:00 UTC) are shown below.

March 2018
--- Log opened Thu Mar 08 00:00:43 2018
01:33 -!- chennakeshava [0e8b9bd6@gateway/web/freenode/ip.] has joined #mlpack
01:40 -!- mrcode [~thelaughi@] has joined #mlpack
01:40 -!- mrcode [~thelaughi@] has quit [Client Quit]
01:48 -!- chennakeshava [0e8b9bd6@gateway/web/freenode/ip.] has quit [Quit: Page closed]
01:52 -!- wenhao [731bc686@gateway/web/freenode/ip.] has joined #mlpack
03:19 -!- govg [~govg@unaffiliated/govg] has quit [Ping timeout: 260 seconds]
03:29 -!- wenhao [731bc686@gateway/web/freenode/ip.] has quit [Ping timeout: 260 seconds]
03:38 -!- govg [~govg@unaffiliated/govg] has joined #mlpack
03:55 -!- eddyrene [bbff80f4@gateway/web/freenode/ip.] has quit [Quit: Page closed]
04:02 -!- adi_ [d2d461b0@gateway/web/freenode/ip.] has joined #mlpack
04:02 < adi_> hello everyone
04:03 < adi_> my name is Aditya Sinha from 2nd year computer science engineering
04:03 < adi_> I want to participate in GSoC this year
04:06 < adi_> i m interested in String processing utilities project...
04:07 < rcurtin> hi adi_, nice to meet you
04:07 < rcurtin> I'm sorry for the quick response but I am about to go to bed...
04:07 < adi_> hello sir...
04:07 < rcurtin> have you seen and
04:07 < adi_> ok problem...
04:07 < rcurtin> those could be useful
04:08 < rcurtin> also take a look at the mailing list archives; there is some discussion of the string processing utilities pronect there
04:08 < rcurtin> project*
04:08 < rcurtin> anyway good night :)
04:08 < adi_> thanks and good night sir..
04:32 -!- adi_ [d2d461b0@gateway/web/freenode/ip.] has quit [Ping timeout: 260 seconds]
05:03 -!- travis-ci [] has joined #mlpack
05:03 < travis-ci> ShikharJ/mlpack#97 (RBM - 6b79795 : Shikhar Jaiswal): The build has errored.
05:03 < travis-ci> Change view :
05:03 < travis-ci> Build details :
05:03 -!- travis-ci [] has left #mlpack []
06:04 -!- travis-ci [~travis-ci@] has joined #mlpack
06:04 < travis-ci> ShikharJ/mlpack#98 (GAN - 083723e : Shikhar Jaiswal): The build has errored.
06:04 < travis-ci> Change view :
06:04 < travis-ci> Build details :
06:04 -!- travis-ci [~travis-ci@] has left #mlpack []
06:38 -!- wenhao [731bc686@gateway/web/freenode/ip.] has joined #mlpack
06:51 -!- govg [~govg@unaffiliated/govg] has quit [Ping timeout: 248 seconds]
06:53 -!- govg [~govg@unaffiliated/govg] has joined #mlpack
07:04 -!- witness [uid10044@gateway/web/] has joined #mlpack
07:08 -!- wenhao [731bc686@gateway/web/freenode/ip.] has quit [Ping timeout: 260 seconds]
07:29 -!- ImQ009 [~ImQ009@unaffiliated/imq009] has joined #mlpack
07:50 -!- rajeshdm9 [0e8b9b18@gateway/web/freenode/ip.] has joined #mlpack
08:03 -!- ImQ009_ [~ImQ009@unaffiliated/imq009] has joined #mlpack
08:04 -!- ImQ009 [~ImQ009@unaffiliated/imq009] has quit [Ping timeout: 256 seconds]
08:04 -!- rajeshdm9 [0e8b9b18@gateway/web/freenode/ip.] has quit [Ping timeout: 260 seconds]
08:32 -!- ImNotQ009__ [~ImQ009@unaffiliated/imq009] has joined #mlpack
08:35 -!- ImQ009_ [~ImQ009@unaffiliated/imq009] has quit [Ping timeout: 256 seconds]
08:51 -!- vivekp [~vivek@unaffiliated/vivekp] has quit [Ping timeout: 264 seconds]
09:01 -!- vivekp [~vivek@unaffiliated/vivekp] has joined #mlpack
09:17 -!- moksh [0e8b9bd6@gateway/web/freenode/ip.] has joined #mlpack
09:20 < moksh> @zoq I implemented optmistic mirror descent for Adam optimizer, could you please take a look at the PR when you get time?
09:22 -!- moksh [0e8b9bd6@gateway/web/freenode/ip.] has quit [Quit: Page closed]
09:24 -!- witness [uid10044@gateway/web/] has quit [Quit: Connection closed for inactivity]
09:50 -!- ImNotQ009__ [~ImQ009@unaffiliated/imq009] has quit [Quit: Leaving]
09:50 -!- ImQ009 [~ImQ009@unaffiliated/imq009] has joined #mlpack
10:35 -!- sumedhghaisas [~yaaic@] has joined #mlpack
10:52 < zoq> moksh: Sure, thanks!
11:01 -!- sumedhghaisas2 [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
11:01 -!- sumedhghaisas [~yaaic@] has quit [Read error: Connection reset by peer]
11:36 -!- wenhao [731bc3e9@gateway/web/freenode/ip.] has joined #mlpack
13:08 -!- sumedhghaisas2 [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Read error: Connection reset by peer]
13:09 -!- adi_ [d2d461b0@gateway/web/freenode/ip.] has joined #mlpack
13:09 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
13:18 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Read error: Connection reset by peer]
13:19 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
13:51 -!- wenhao [731bc3e9@gateway/web/freenode/ip.] has quit [Ping timeout: 260 seconds]
13:53 < rcurtin> zoq: ok, the nightly doxygen build is enabled again... probably a good idea to check the page tomorrow and make sure everything worked ok
13:54 -!- ShikharJ [0e8bc218@gateway/web/freenode/ip.] has joined #mlpack
14:02 -!- ShikharJ [0e8bc218@gateway/web/freenode/ip.] has quit [Quit: Page closed]
14:10 < zoq> rcurtin: Good idea.
14:16 -!- govg [~govg@unaffiliated/govg] has quit [Ping timeout: 240 seconds]
14:18 -!- govg [~govg@unaffiliated/govg] has joined #mlpack
15:26 -!- travis-ci [] has joined #mlpack
15:26 < travis-ci> ShikharJ/mlpack#99 (RBM - d691154 : Shikhar Jaiswal): The build has errored.
15:26 < travis-ci> Change view :
15:26 < travis-ci> Build details :
15:26 -!- travis-ci [] has left #mlpack []
15:47 -!- robertohueso [] has joined #mlpack
15:48 -!- vivekp [~vivek@unaffiliated/vivekp] has quit [Ping timeout: 240 seconds]
15:50 -!- vivekp [~vivek@unaffiliated/vivekp] has joined #mlpack
16:20 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Read error: Connection reset by peer]
16:21 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
16:23 -!- sumedhghaisas2 [~yaaic@] has joined #mlpack
16:24 -!- sumedhghaisas2 [~yaaic@] has quit [Read error: Connection reset by peer]
16:24 -!- sumedhghaisas3 [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
16:26 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Ping timeout: 256 seconds]
16:36 -!- aman____ [uid212746@gateway/web/] has quit [Quit: Connection closed for inactivity]
17:32 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
17:34 -!- sumedhghaisas3 [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Ping timeout: 256 seconds]
17:52 -!- sumedhghaisas2 [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
17:53 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Ping timeout: 265 seconds]
18:11 -!- moksh [daf82e6b@gateway/web/freenode/ip.] has joined #mlpack
18:12 < moksh> @zoq, really sorry for the late reply. I just saw that travis-ci build failed. I'll try fixing that as soon as possible
18:21 -!- adi_ [d2d461b0@gateway/web/freenode/ip.] has quit [Quit: Page closed]
18:27 < zoq> moksh: No worries, we don't have to rush.
18:31 -!- adi_ [d2d461b0@gateway/web/freenode/ip.] has joined #mlpack
18:32 < moksh> @zoq, I tried running the tests locally to check the stability, but they run without any errors.
18:32 < zoq> moksh: And you used another random seed for each run?
18:33 < adi_> hello rcurtin..
18:33 < adi_> i hv downloaded mlpack and started tutorial..but there seems some problem!
18:34 < rcurtin> adi_: I can try and help, but you are going to need to give more details than that
18:35 < adi_> yes yes sir...mlpack_logistic_regression -t dataset.csv -v the above code is resulting to segmentation fault..
18:36 < rcurtin> okay, can you tell me what you have tried to resolve the issue?
18:37 < adi_> actually i tried to search the dataset.csv file but i was not able to find i instead put iris.csv in terminal ...
18:37 < adi_> that also gave same result..
18:39 < moksh> @zoq I used math::RandomSeed(std::time(NULL)); as mentioned in the ticket you referenced
18:39 < zoq> moksh: Okay, can you build with -DDEBUG=ON and run the test again?
18:40 < adi_> @rcurtin can i skip tutorial part and instead start making simple mlpack programs as meintioned in involved.html page?
18:41 < zoq> adi_: Going throught the tutorials is an improtatnt step, so we should see if we can fix the issue.
18:41 < zoq> *through
18:42 < zoq> adi_: Is libmlpack in your search path?
18:42 < adi_> but @zoq datasets are not being loaded ....its giving segmentation fault core dumped!
18:43 < moksh> @zoq, Is this correct: bin/mlpack_test -DDEBUG=ON -t AdamTest/AdamirrorLogisticRegressionTest ? Because it gives an error
18:43 < zoq> yeah, I read that part, still you ahve to make sure is in your library search path
18:43 < zoq> also what is the output of: 'mlpack_logistic_regression -h'
18:44 < zoq> moksh: You have to rebuild mlpack: 'cmake -DDDEBUG=ON ..'
18:44 < adi_> same segmentation fault
18:44 < rcurtin> sorry, I stepped out
18:44 < rcurtin> adi_: make sure you are setting LD_LIBRARY_PATH correctly; have you done that?
18:44 < moksh> @zoq oh sorry, got confused.
18:45 < adi_> how to set LD_LIBRARY_PATH correctly?
18:46 < rcurtin> you should do 'export LD_LIBRARY_PATH=/path/to/libs/'
18:46 < rcurtin> where /path/to/libs/ is the directory containing
18:49 < adi_> i have in mlpack-2.2.5/build/lib/
18:49 < adi_> there is a file named in above path...
18:50 < rcurtin> okay, did you do 'make install'?
18:50 < rcurtin> if you did, look to see if it is in /usr/local/lib/ because that would be a typical place for it to be installed
18:50 < rcurtin> then if it is there you can do `export LD_LIBRARY_PATH=/usr/local/lib/`
18:51 < adi_> yes sir i did..
18:53 < adi_> it worked sir...I did mlpack_logistic_regression -h in that folder...
18:54 < adi_> so do i hv to put run those commands in that folder?
18:57 < adi_> sir but...sinha@sinha-Inspiron-14-3467:/usr/local/lib$ mlpack_logistic_regression -t dataset.csv -v [WARN ] --output_model_file not given; trained model will not be saved. [FATAL] Cannot open file 'dataset.csv'. terminate called after throwing an instance of 'std::runtime_error' what(): fatal error; see Log::Fatal output Aborted (core dumped)
18:58 < adi_> that command of dataset.csv is not being able to run successfully...
18:59 < moksh> @zoq: I am getting this error while building with -DDEBUG=ON
18:59 < moksh> Error: expected constructor, destructor, or type conversion before ‘(’ token math::RandomSeed(std::time(NULL));
19:01 -!- robertohueso [] has quit [Quit: leaving]
19:02 < rcurtin> adi_: did you try reading the error? dataset.csv does not exist so you will need to find a file to run the program with
19:03 < adi_> yes sir i tried iris.csv but same result..
19:04 < adi_> but mlpack_logistic_regression -h is giving output
19:05 < rcurtin> okay, does iris.csv exist in the directory you are running the program in?
19:05 < rcurtin> it may be worthwhile to spend some more time reading general command line documentation for linux, if you are not fully comfortable with the command line
19:05 -!- sumedhghaisas2 [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Read error: Connection reset by peer]
19:07 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
19:12 < zoq> moksh: hm, strange, did you remove the build directory?
19:13 < moksh> @zoq: No
19:14 < zoq> moksh: Not sure, maybe that solves the issue
19:14 < moksh> @zoq: Okay. I'll try and get back to you. Thanks
19:16 < adi_> @rcurtin that iris.csv file doesnt exist in the usr/local/lib/ folder
19:16 < adi_> and i then copied iris.csv file to that folder but that code doesnt seems to run!
19:17 < zoq> adi_: You don't have to copy the file into the folder, you can just pass that path.
19:17 < zoq> adi_: Also as rcurtin pointed out, we need some more information to help you.
19:18 < adi_> sir i run the command in usr/local/lib folder..
19:19 < adi_> actually mlpack-2.2.5 folder exists in Downloads..
19:19 < adi_> i did make install
19:19 < rcurtin> adi_: I really think, if you are not comfortable with using the command line and aren't familiar with the concepts of working directories, etc., it might be better for you to do reading first instead of having us help you with each problem
19:20 < rcurtin> that way, you can probably get to the answer yourself and develop a greater understanding
19:20 < adi_> ok sir..
19:20 < rcurtin> in any case, make sure that the filename you pass to '-t' is either a fully specified path, or is in the current working directory
19:21 < zoq> Agreed, there are tons of good tutorials out there.
19:21 < adi_> ok sir..thanks..actually i already learned about basic linux commands ...but i'll do it ...
19:24 < moksh> @zoq still getting the same error
19:25 < zoq> moksh: What if you remove the line? Does this solve the issue?
19:26 < moksh> Yes, it builds properly if I remove the line
19:28 < zoq> and all you did was to add "mlpack::math::RandomSeed(std::time(NULL))" inside the test case right?
19:30 < moksh> @zoq: Oh wait. I added it before the test case, outside it. Maybe that's the problem?
19:30 < zoq> Ah, I think it is :)
19:31 < moksh> @zoq: I thought before the test case meant outside it, sorry about that
19:32 < zoq> No worries.
19:34 < adi_> yippee it worked sir...Output is -> [INFO ] Loading '/home/sinha/Downloads/mlpack-2.2.5/build/iris.csv' as CSV data. Size is 4 x 150.
19:35 < adi_> sir its 1 am hr...can i join u tomorrow....I m sorry for previous questions..i was rushing..
19:36 < moksh> @zoq: That fixed it. Thanks. I'll let the build finish and get the output.
19:39 < moksh> @zoq: Also can you please tell me some reasons why the test might have failed? As rcurtin mentioned in the ticket the tests are probabilistic so they might be unstable, but I can't properly understand why.
19:40 -!- sumedhghaisas2 [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
19:41 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Ping timeout: 256 seconds]
19:42 < zoq> You start with a random function paramater initalization, so each run is different.
19:44 -!- sumedhghaisas2 [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Ping timeout: 256 seconds]
19:45 < adi_> Good night.
19:45 -!- adi_ [d2d461b0@gateway/web/freenode/ip.] has quit [Quit: Page closed]
19:49 < moksh> @zoq: Yeah, I understood that, but any reason why one particular optimizer might have failed? Would the initialization parameters of the optimizer have something to do with that?
19:52 < zoq> moksh: It might be possible that it dosn't converge in the specified number of iterations, so oen easy solution is to increase the number of iterations, but we like to keep the test time low; so another idea is to increase/decrease the step size.
19:55 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has joined #mlpack
19:55 < moksh> @zoq: Oh okay. So I'll try running the test built with debug on and if the test fails consistently I'll try tuning the step size.
20:08 < moksh> @zoq: I found the error was in one of the tests and just increasing the step size seems to have fixed it. Thanks again :) I'll push the change now
20:43 -!- moksh [daf82e6b@gateway/web/freenode/ip.] has quit [Ping timeout: 260 seconds]
22:03 -!- sumedhghaisas2 [~yaaic@] has joined #mlpack
22:04 -!- sumedhghaisas [~yaaic@2a00:79e0:d:fd00:9c70:dbd5:f288:15fd] has quit [Ping timeout: 256 seconds]
22:33 -!- ImQ009 [~ImQ009@unaffiliated/imq009] has quit [Read error: Connection reset by peer]
--- Log closed Fri Mar 09 00:00:44 2018