verne.freenode.net changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
nilay has quit [Ping timeout: 250 seconds]
nilay has joined #mlpack
tsathoggua has joined #mlpack
tsathoggua has quit [Client Quit]
nilay has quit [Ping timeout: 250 seconds]
Stellar_Mind has joined #mlpack
Stellar_Mind has quit [Ping timeout: 258 seconds]
Stellar_Mind has joined #mlpack
Stellar_Mind2 has joined #mlpack
Stellar_Mind has quit [Ping timeout: 240 seconds]
Stellar_Mind has joined #mlpack
Stellar_Mind2 has quit [Ping timeout: 260 seconds]
Stellar_Mind has quit [Ping timeout: 258 seconds]
Mathnerd314 has quit [Ping timeout: 272 seconds]
nilay has joined #mlpack
nilay has quit [Ping timeout: 250 seconds]
nilay has joined #mlpack
< nilay> zoq tham: i have completed feature extraction part. i am pasting the gist here. i will convert this in mlpack format after some time.
< nilay> i am getting some error.
< nilay> i'll post in some time, sorry.
nilay has quit [Ping timeout: 250 seconds]
< mentekid> rcurtin: I have some "alternative" code to the one you included in your PR - how do I share it with you? Can I commit to that PR in some way, should I open a different one?
Stellar_Mind has joined #mlpack
< rcurtin> mentekid: the way I did it for your PR was to check out your PR branch and then commit my code
< rcurtin> then use git format-patch to create the patch and send it to you
< rcurtin> maybe there is an easier way bit that way at least works... :)
< mentekid> I emailed it to you :)
Stellar_Mind has quit [Ping timeout: 252 seconds]
< mentekid> the attachment doesn't show up at the github interface though :/
Mathnerd314 has joined #mlpack
< rcurtin> mentekid: thanks, I will merge it in when I can
< rcurtin> probably not today, I am at the track racing karts :)
< mentekid> sounds fun! It's not really ready for a merge yet, if we end up going that way we need to change the serialization and probably other interface things
< rcurtin> wow, a comment from Sterling, h
< rcurtin> I had no idea he still watched the github repo :)
< keonkim> cli executables seems to have two major styles of writing. The one that initializes every parameters at the beginning of main() and one that initiailizes parameters right before they are needed. Which one should I go for as I write new executable?
< keonkim> oh, and sometimes there is also two kinds of checks, which really does the same thing: CLI::HasParam() and parameter.empty(). which one is better?
< keonkim> (I mean preferred)
< keonkim> one that is most comfortable to my eyes is initializing everything at the beginning and checking by CLI::HasParams.
nilay has joined #mlpack
< keonkim> I want to unify the styles while going through every _main.cpp s
TD has joined #mlpack
< TD> To install mlpack on Windows 10 do you need to still install Armadillo, ProBoost, Etc;
< TD> Currently, I have downloaded the mlpack from the appveyor site
< TD> I have copied and pasted the files into my VS2013 solution explorer
< keonkim> I just went through that like yesterday. I might be able to help you.
< TD> if you could it would be greatly appreciated
< keonkim> my version was VS2015. I installed using nuget.
< keonkim> you can just follow the instructions in https://github.com/mlpack/mlpack/blob/master/.appveyor.yml
< TD> add that is it?
< keonkim> ya Let me get back to my windows machine, and post detailed instructions on my blog really quick.
< keonkim> will take about 30 min.
< TD> K, cool and I greatly appreciate this.
< keonkim> no problem, it was in my todo list anyways. :)
< TD> I have spent the last 7 days trying to get this to work and I think I have increased mlpack.org site visibility by 100% :-)
< keonkim> as I think of it now it might take more than 30 min, 1 hr at least. :p
< TD> You would be a legend
< rcurtin> if either of you guys would like to write up or add some documentation it would be greatly appreciated
< rcurtin> I personally don't use Windows so I have never written good instructions for how to do it :(
< TD> I don't mind adding anything I can
< nilay> zoq tham: hello again, so here is the code for feature extraction. https://gist.github.com/nilayjain/6c426cd4b02f3c4174dc892057311f1d
< nilay> so right now i am not using templates, even though class is templatized.
< nilay> what should i do in order to do that. also the varaibles that are being assigned in the code to matrices should also be of that same type, so thats why i am unsure.
< nilay> zoq: it takes 18s on my machine just for the example code that you posted. the slowest step for python codes is the reshape() that is being done in reg_ftr and ss_ftr
< nilay> i think even though we avoid that thing upto some extent, it may be slowest step for this implementation as well. So once the template thing is done, i can write it in mlpack format and we can use github then.
< zoq> nilay: So, you can basically use MatType instead of arma::mat in your code at the postions where it makes sense. So, instead of: void Gradient(arma::cube& InImage, arma::mat& Magnitude, arma::mat& Orientation);
< zoq> write: void Gradient(CubeType& InImage, MatType& Magnitude, MatType& Orientation);
< zoq> nilay: But it doesn't make sense to use arma::mat (arma::Mat<double>) to store the locations, so you can just use umat or arma::Mat<size_t>
< zoq> nilay: We take a look at the code, once you opened the PR, it's easier to start a discussi and to make comments.
< zoq> nilay: Also if you open a PR, I think using 'edge_boxes' as method/folder name is a good idea. What do you think?
Cooler_ has quit [Ping timeout: 246 seconds]
< nilay> zoq: yes, ok
< nilay> so, now mlpack needs to be recompiled fully, when i add files to cmakelists
< keonkim> hmm thats strange.
< keonkim> the master branch on github works but the 2.0.1 release fails cmake on cli. (with same armadillo and everything)
< keonkim> it says C++ 11 compiler is not available
< keonkim> I am talking about windows cmake cli.
< rcurtin> yes, I think for visual studio 2.0.1 has a bug... take a look at CMake/CXX11.cmake
< zoq> nilay: Just run 'make' it should automatically reconfigure your project.
< nilay> zoq: what about the internal variables that need to be created sometimes, they should also be of type MatType
< nilay> how do we ensure that?
< nilay> say when these variables will be assigned to a location in a MatType matrix.
< zoq> nilay: I'm not sure I get your point, you can also use MatType inside the function.
< nilay> zoq: say a matrix m is of type MatType
< nilay> now to matrix m at location (i,j) i need to assign a variable.
< nilay> so the type of that variable(float or double) should match with type of matrix(float or double)
< zoq> nilay: you mean something like arma::mat input = arma::mat(10, 10); input(0, 0) = 1?
< nilay> yeah
< nilay> is there a way to do this
< zoq> nilay: It should be casted automatically, we don't have to worry about that.
< nilay> zoq: ok
< nilay> so i'll open PR in the morning. then we'll discuss.
< zoq> nilay: sounds, great
< nilay> meanwhile should i start reading up on the next thing we want to do, when you and tham review this?
< zoq> nilay: That sounds like a great idea. Also, I'm stoked to read the next status update :)
< nilay> zoq: ok, i'll post that tomorrow too :) so we will be using decision_stump for the next part?
< zoq> nilay: Yeah, I think that's a good idea.
< nilay> zoq: ok, and we'll use python codes as reference for training random forest?
< zoq> nilay: We don't have too, we can just reuse ryan's code: https://github.com/rcurtin/mlpack/tree/vfdt/src/mlpack/methods/hoeffding_trees
< nilay> zoq: this seems like too many files :p
< zoq> nilay: We don't need everything, you could start with hoeffding_forest_impl.hpp and hoeffding_forest.hpp
< nilay> zoq: ok great. now i have idea how to start for the next thing. see you tomorrow :)
< zoq> nilay: See you tomorrow ... also have fun.
< keonkim> TD: I wrote down the instructions of "how to build mlpack on windows" on my blog : http://keon.io/mlpack-on-windows.html
< keonkim> TD: it is little rough since i rushed it :), also, try the one on the master branch (https://github.com/mlpack/mlpack) instead of the 2.0.1 release.
< zoq> keonkim: I don't mind to use either parameter.empty() or CLI::HasParam(); also I'm not sure we have to unify the executables, do you think it would increase readability?
nilay has quit [Quit: Page closed]
< keonkim> zoq: yes I suggested it just for the readability.
< TD> Keonkim: Love the screen shots and thanks for putting this together! This explains a lot. I will send over any documentation that I can add
< zoq> keonkim: Okay, I don't see a reason not to do so, maybe some else does, but if not I would say go ahead :)
< zoq> keonkim: I agree, great blog post; step 3 lacks the armadillo build step, but I'm sure anybody can figure it out.
< keonkim> I just updated it. :) thanks for letting me know.
< keonkim> TD: tell me if you get unsuccessful with this instruction. I am going to sleep now. :)
< TD> Thanks and get some rest. I am going to give it a go tomorrow and I will let you know.
mentekid has quit [Ping timeout: 272 seconds]
TD has quit [Ping timeout: 250 seconds]