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/
< alsc>
zoq: I am writing a tiny decoder in vanilla C for models trained with mlpack ANN: I don't understand the negativeloglikelihood_impl file... shouldn't it be -log() of the input columns?
< zoq>
alsc: It is expected that the input contains log-probabilities.
< alsc>
ok..true sorry.. needs LogSoftMax first
< zoq>
alsc: Right or you can now use The CrossEntropy function.
< alsc>
zoq: i trained with softmax, will keep it that way for now
< alsc>
I have a half ready code generator that takes a FNN model and writes header files with the topology and coefficients, with no dependencies, just raw pointers
< zoq>
alsc: Okay, that should work just fine, just if you don't like to introduce an extra layer you could switch to cross entropy
< alsc>
kind of a portable tiny decoder maybe I'll upload it somewhere
govg has joined #mlpack
< zoq>
also, do you like me to open a PR for the layer modifcation or do you refork the repo?
< zoq>
alsc: Would be cool to see the results :)
< alsc>
zoq: yeah for the PRs, I have forked and waiting to hae a second to port the changes from the code you saw to this new fork so I can submit a PR from there.... give it some days...
< zoq>
alsc: Okay sounds good, let me know if you encounter any issues.
< alsc>
zoq: can you give me a little help to replicate that softmax function?
< alsc>
I imagine having the activations, say 10, of the last layer, with the number of classes double activations[] = {0.123,0.213,0.151,0.153,0.21}
< alsc>
I dn't understand what tanh has to do with the softmax, I'd expect just exp() in there
lozhnikov has quit []
lozhnikov has joined #mlpack
ImQ009 has joined #mlpack
< alsc>
anyay, from the algorithm, I'd say I'll have max_activation = 0.213; then normalize activations subtracting the max, then it looks like it's doing tanh of that, then other stuff..
< alsc>
😬
< alsc>
zoq: so it's doing tanh first, then softmax
manish7294 has joined #mlpack
< manish7294>
@rcurtin: Currently we are not building MVU and there is also a comment that it's not working. Could you give me some points as why it's not working. I couldn't get it seeing #189. And sorry for disturbing frequently, It must be hard managing so many things.
< rcurtin>
manish7294: the issue is now #183 on github (#189 was the old number on trac)
< rcurtin>
see also the MVU project for GSoC
< manish7294>
rcurtin: Thanks for suggesting that. Do you think diving into MVU for some time will help getting more acquainted to LMNN ?
< rcurtin>
at least being familiar with it might help, but in my view fixing MVU is a far harder task than LMNN+LRSDP
alsc has quit [Ping timeout: 240 seconds]
< manish7294>
rcurtin: ya, I understand you have already mentioned "It's not for faint of heart" :-) . I just want to get familiar with SDP's.
< rcurtin>
no worries, maybe the Vandenberghe and Boyd paper/tutorial is a good place to start?
< rcurtin>
not sure I got the name right... at lunch now
alsc has joined #mlpack
alsc has quit [Quit: alsc]
alsc has joined #mlpack
alsc has quit [Quit: alsc]
manish7294 has quit [Remote host closed the connection]
< zoq>
alsc: Sorry for the slow response, the comment is wrong, it's the exp approximation.
< zoq>
alsc: Fixed with 4f664d208 thanks for the hint.
ImQ009 has quit [Quit: Leaving]
< rcurtin>
zoq: I guess a quick fix for the static analysis is just to remove the -Werror from the cflags for pvs-studio, what do you think?
< rcurtin>
if you think that's fine I'll go ahead and make the change on masterblaster
< zoq>
or checkout the previous version?
< zoq>
since it's a git repo
< rcurtin>
ah, yeah, honestly that is the easier thing
< zoq>
Are you going to make the adjustment?
< rcurtin>
sure, I will do it
< zoq>
okay
< rcurtin>
I need to do a reboot test of masterblaster also; I think I will do it either later tonight or tomorrow morning unless there are any objections
< rcurtin>
I'll basically just wait until no active jobs are running, then apt-get update && apt-get upgrade && apt-get dist-upgrade && reboot