| --- Log opened Fri Jun 02 00:00:55 2017 | ||
| -!- mikeling [uid89706@gateway/web/irccloud.com/x-lurtlgraxstlzxxw] has joined #shogun | 03:33 | |
| mikeling | wiking: ping | 03:33 | 
|---|---|---|
| mikeling | are you still there? | 03:34 | 
| shogun-buildbot | build #75 of nightly_all is complete: Success [build successful] Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_all/builds/75 | 07:37 | 
| -!- mikeling [uid89706@gateway/web/irccloud.com/x-lurtlgraxstlzxxw] has quit [Quit: Connection closed for inactivity] | 08:03 | |
| -!- mikeling [uid89706@gateway/web/irccloud.com/x-evqptyracnmnecfy] has joined #shogun | 08:11 | |
| -!- geektoni [~geektoni@93-34-234-212.ip52.fastwebnet.it] has joined #shogun | 09:06 | |
| @wiking | mikeling, sorry | 09:14 | 
| @wiking | still CET... starting from next week i'm UTC+8 | 09:14 | 
| @wiking | mikeling, i'm here now | 09:15 | 
| mikeling | wiking: np, don't mind :) | 09:28 | 
| @wiking | :) | 09:28 | 
| @wiking | k | 09:28 | 
| mikeling | BTW, the vector.at() will return a reference of that data element | 09:28 | 
| mikeling | right? | 09:28 | 
| @wiking | yes | 09:29 | 
| @wiking | but you can use operator[] | 09:29 | 
| @wiking | i.e. vector[i] as well | 09:29 | 
| @wiking | it's the same | 09:29 | 
| mikeling | hmm, how could I make it return a const reference for https://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/lib/DynamicArray.h#L224 | 09:29 | 
| @wiking | mmm | 09:30 | 
| @wiking | if you return vector[i] | 09:30 | 
| @wiking | that should be fine | 09:30 | 
| @wiking | it'll transform it to be const | 09:30 | 
| @wiking | and vector<T>[i] or vector<T>.at(i) returns T& | 09:30 | 
| @wiking | lemme get you the link | 09:31 | 
| @wiking | http://en.cppreference.com/w/cpp/container/vector/operator_at | 09:31 | 
| @wiking | see | 09:31 | 
| @wiking | it has two different version of | 09:31 | 
| @wiking | and if yo udo there return vector[i]; | 09:32 | 
| @wiking | where the return type of the vector is | 09:32 | 
| @wiking | const T& | 09:32 | 
| mikeling | it's same like at() http://en.cppreference.com/w/cpp/container/vector/at | 09:32 | 
| @wiking | then the compiler will use const_reference version of the operator[] | 09:32 | 
| @wiking | yeah | 09:32 | 
| @wiking | same | 09:32 | 
| @wiking | but honestly | 09:32 | 
| @wiking | nobody uses .at for vector | 09:32 | 
| @wiking | :P | 09:32 | 
| @wiking | or it's rather seldom that you see people use it | 09:32 | 
| @wiking | it's rather the operator[] that is being used | 09:33 | 
| @sukey | New Commit "[ProgressBar] Fix warning when building." to shogun-toolbox/shogun by vigsterkr: https://github.com/shogun-toolbox/shogun/commit/601c4e3d9b58bdab239d3dceb6a2544196ebe1a3 | 09:34 | 
| micmn | wiking: regarding my pr | 09:40 | 
| micmn | how do you think we should proceed | 09:41 | 
| micmn | for the regularization param | 09:41 | 
| micmn | and the template? | 09:41 | 
| mikeling | a second | 09:41 | 
| mikeling | sorry, I just thought you are @me ;) | 09:43 | 
| micmn | :p | 09:44 | 
| mikeling | wiking: Do you have any idea about why this test error out? https://travis-ci.org/shogun-toolbox/shogun/jobs/238353410#L9761 | 09:48 | 
| mikeling | I'm working on it since yesterday, but found nothing for it | 09:49 | 
| mikeling | :/ | 09:49 | 
| @sukey | Pull Request #3828 "[ProgressBar] Add multi threaded progress bar." synchronized by geektoni - https://github.com/shogun-toolbox/shogun/pull/3828 | 10:05 | 
| -!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun | 10:06 | |
| -!- mode/#shogun [+o iglesiasg] by ChanServ | 10:06 | |
| -!- Raman [3bb2b171@gateway/web/freenode/ip.59.178.177.113] has joined #shogun | 10:12 | |
| Raman | Hi | 10:13 | 
| Raman | I am a beginner and want to do some contribution. | 10:13 | 
| Raman | Can anyone suggest how and where I can start? | 10:13 | 
| geektoni | Hi Raman :) please take a look to the project wiki --> https://github.com/shogun-toolbox/shogun/wiki | 10:16 | 
| -!- Raman [3bb2b171@gateway/web/freenode/ip.59.178.177.113] has quit [Quit: Page closed] | 10:26 | |
| -!- travis-ci [~travis-ci@ec2-54-221-109-191.compute-1.amazonaws.com] has joined #shogun | 10:33 | |
| travis-ci | it's Giovanni De Toni's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/238643288 | 10:33 | 
| -!- travis-ci [~travis-ci@ec2-54-221-109-191.compute-1.amazonaws.com] has left #shogun [] | 10:33 | |
| @wiking | micmn, hey | 11:17 | 
| @wiking | micmn, i mean if you are blocked and dont wanna hack too much with the linalg then you can just put a todo to the code | 11:17 | 
| @wiking | and continue on LDA | 11:17 | 
| @wiking | otherwise the ideal thing would be that you implement whatever is still missing from linalg that is needed for the lda refactor | 11:18 | 
| @wiking | mikeling, checking | 11:18 | 
| micmn | yeah that's not a problem | 11:18 | 
| @wiking | oh nooo i know | 11:18 | 
| @wiking | mikeling, yeah i owe you this | 11:18 | 
| @wiking | lemme do it asap | 11:18 | 
| @wiking | mikeling, can i ask you a favour plz | 11:19 | 
| @wiking | mmm | 11:19 | 
| @wiking | nevermind | 11:19 | 
| @wiking | lemme do it | 11:19 | 
| mikeling | wiking: sure | 11:19 | 
| mikeling | what's up | 11:19 | 
| @wiking | nothing i can cherrypick your repo :P | 11:19 | 
| micmn | my question was: how should we proceed? join the 2 classes or implement regularization and templating in FisherLDA too? | 11:20 | 
| @wiking | ah | 11:21 | 
| @wiking | mmm | 11:25 | 
| @wiking | i'm wondering whether we really need 2 different algos | 11:25 | 
| @wiking | i mean classes | 11:25 | 
| @wiking | of course its actually nicer in a way to maintain code like that | 11:25 | 
| @wiking | that's the only reason i would say keep 2 different classes and implement templating and reg there as well (fisherlda) | 11:26 | 
| @wiking | because i really hate seeing source files more than 150+ LoC | 11:26 | 
| @wiking | micmn, do you have any strong pros for merging the 2 classes? | 11:30 | 
| micmn | mmm | 11:30 | 
| micmn | it depends on what we want to do we the lda's solver | 11:31 | 
| micmn | if we want to keep it then 2 classes are fine | 11:31 | 
| micmn | otherwise i think that fisherlda's solver need to handle the 2 classes case as a special case | 11:32 | 
| micmn | so it breaks a bit the abstraction | 11:32 | 
| micmn | i mean for the bias computation | 11:33 | 
| micmn | and actually i think for the weights too but i have to check | 11:33 | 
| @wiking | k | 11:40 | 
| @wiking | mikeling, still building it locally | 11:43 | 
| micmn | is there a nice way with SGMatrix/Vector to do matrix.col(i) -= vec? | 11:48 | 
| @wiking | :D | 11:48 | 
| @wiking | micmn, linalg should do that | 11:49 | 
| @wiking | because we wanna get out from SGMatrix all those operators | 11:49 | 
| @wiking | and handle it with linalg | 11:49 | 
| -!- mikeling is now known as mikeling|brb | 11:49 | |
| micmn | *adds to todo list* | 11:50 | 
| @wiking | :) | 11:52 | 
| @wiking | mikeling|brb, ok so this ctest is acting a bit weird | 11:53 | 
| @wiking | because if i run ctest -R unit-SGObject | 11:54 | 
| @wiking | i get 232 FAILED TESTS | 11:54 | 
| @wiking | but if i run one of those failed tests separately | 11:54 | 
| @wiking | like | 11:55 | 
| @wiking | /home/wiking/shogun/build/bin/shogun-unit-test --gtest_filter=SGObject.clone_equals_StreamingStringFeatures_PT_CHAR | 11:55 | 
| @wiking | it does not fail | 11:55 | 
| @wiking | it only fails consequently with | 11:55 | 
| @wiking | /home/wiking/shogun/build/bin/shogun-unit-test --gtest_filter=SGObject.equals_DynamicObjectArray_equal | 11:55 | 
| -!- iglesiasg [~iglesiasg@217.119.234.214] has quit [Remote host closed the connection] | 11:56 | |
| @wiking | mikeling|brb, i've added the comment that should start fixing stuff :) | 12:10 | 
| @wiking | i'm just recompiling | 12:10 | 
| @wiking | locally to test it | 12:11 | 
| @wiking | mikeling|brb, the commented code fixed most of the errors | 12:16 | 
| @wiking | there's still error in case of SGObject.equals_DynamicObjectArray_different | 12:16 | 
| @wiking | and for that i suggested in the comments | 12:24 | 
| @wiking | how you could fix it | 12:24 | 
| @sukey | Pull Request #3828 "[ProgressBar] Add multi threaded progress bar." merged by vigsterkr - https://github.com/shogun-toolbox/shogun/pull/3828 | 12:39 | 
| @sukey | New Commit "Merge pull request #3828 from geektoni/feature/progress_multi | 12:39 | 
| @sukey | [ProgressBar] Add multi threaded progress bar." to shogun-toolbox/shogun by vigsterkr: https://github.com/shogun-toolbox/shogun/commit/48c1bd308c8b378053b7a9f434f5b54cb2492427 | 12:39 | 
| @wiking | geektoni, done | 12:39 | 
| -!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun | 13:18 | |
| -!- mode/#shogun [+o iglesiasg] by ChanServ | 13:18 | |
| -!- mikeling|brb is now known as mikeling | 14:48 | |
| mikeling | wiking: thank you! I'm checking | 14:49 | 
| @wiking | nw | 14:49 | 
| @wiking | lemme know if there's something that's not clear | 15:01 | 
| @wiking | but it should be rather straightforward to fix | 15:01 | 
| micmn | wiking: besides the column+vector op i need trace, identity and zero (already in SGMatrix), should i add them to linalg? | 15:21 | 
| @wiking | yep | 15:22 | 
| micmn | A-B = linalg::add(A,B,1,-1)? | 15:22 | 
| @wiking | i hope so :) | 15:23 | 
| micmn | :p | 15:23 | 
| micmn | it's a bit ugly but ok :D | 15:24 | 
| @sukey | Pull Request #3829 "[ProgressBar][WIP] Add a boolean flag to the progress bar." opened by geektoni - https://github.com/shogun-toolbox/shogun/pull/3829 | 15:41 | 
| @sukey | Pull Request #3829 "[ProgressBar][WIP] Add a boolean flag to the progress bar." synchronized by geektoni - https://github.com/shogun-toolbox/shogun/pull/3829 | 15:42 | 
| -!- iglesiasg [~iglesiasg@217.119.234.214] has quit [Quit: leaving] | 16:57 | |
| -!- olinguyen [81615ad9@gateway/web/freenode/ip.129.97.90.217] has quit [Ping timeout: 260 seconds] | 17:02 | |
| -!- olinguyen [81615ad9@gateway/web/freenode/ip.129.97.90.217] has joined #shogun | 17:14 | |
| @sukey | Pull Request #3829 "[ProgressBar][WIP] Add a boolean flag to the progress bar." synchronized by geektoni - https://github.com/shogun-toolbox/shogun/pull/3829 | 18:37 | 
| @sukey | Pull Request #3830 "Add to linalg trace, zero, identity, add_col_vec (WIP)" opened by micmn - https://github.com/shogun-toolbox/shogun/pull/3830 | 18:52 | 
| @sukey | Pull Request #3826 "Remove duplicate code in LDA/FisherLDA (WIP)" synchronized by micmn - https://github.com/shogun-toolbox/shogun/pull/3826 | 18:53 | 
| -!- geektoni [~geektoni@93-34-234-212.ip52.fastwebnet.it] has left #shogun [] | 19:05 | |
| -!- mikeling [uid89706@gateway/web/irccloud.com/x-evqptyracnmnecfy] has quit [Quit: Connection closed for inactivity] | 20:33 | |
| -!- olinguyen [81615ad9@gateway/web/freenode/ip.129.97.90.217] has quit [Ping timeout: 260 seconds] | 21:01 | |
| -!- WangWang [uid231047@gateway/web/irccloud.com/x-rmtkaabtbhbvswwt] has quit [Quit: Connection closed for inactivity] | 21:09 | |
| -!- olinguyen [81615ad9@gateway/web/freenode/ip.129.97.90.217] has joined #shogun | 22:29 | |
| -!- olinguyen [81615ad9@gateway/web/freenode/ip.129.97.90.217] has quit [Quit: Page closed] | 23:50 | |
| --- Log closed Sat Jun 03 00:00:57 2017 | ||
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!