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/
kris_ has quit [Quit: Connection closed for inactivity]
vivekp has quit [Ping timeout: 246 seconds]
vivekp has joined #mlpack
vivekp has quit [Ping timeout: 240 seconds]
vivekp has joined #mlpack
partobs-mdp has joined #mlpack
vivekp has quit [Ping timeout: 240 seconds]
vivekp has joined #mlpack
vivekp has quit [Ping timeout: 240 seconds]
vivekp has joined #mlpack
vivekp has quit [Ping timeout: 240 seconds]
vivekp has joined #mlpack
partobs-mdp has quit [Remote host closed the connection]
vivekp has quit [Ping timeout: 240 seconds]
vivekp has joined #mlpack
kris1 has joined #mlpack
< kris1>
Hi lozhnikov i just came home…..I have pushed the changes…. have look…… Here is the evaluation file that was giving me undefined behaviour at times.
< kartik_>
hi <zoq> why does that happen that.. when the vanilla network has labels named as 0 1 2 for 3 output layer nodes
< kartik_>
matrix build error occurs
< kartik_>
but for 1 2 3 as nomenclature for output nodes
< kartik_>
it runs fine
< kartik_>
<zoq> iris dataset is working fine and also converging very fast
< kartik_>
after i change the labels to the above names
< zoq>
kartik_: hm, not sure right now
< zoq>
kartik_: build error or assertion?
< kartik_>
for the iris dataset
< kartik_>
all i do is 4 input 4 hidden and 3 output
< kartik_>
then on the training labels marked by 0/1/2
< zoq>
What is the actual error you see?
< kartik_>
i just add one to everything 1/2/3
< kartik_>
and now the network works fine
< kartik_>
error: Mat::operator(): index out of bounds terminate called after throwing an instance of 'std::logic_error' what(): Mat::operator(): index out of bounds Aborted (core dumped)
< zoq>
kartik_: Can you use MeanSquaredError instead of NegativeLogLikelihood and test again?
< kartik_>
<zoq> but its working fine and the run time has got significantly low
< zoq>
kartik_: Sounds good, we should still see if we can figure out what the actual problem is.
< kartik_>
error: subtraction: incompatible matrix dimensions: 3x1 and 1x1 terminate called after throwing an instance of 'std::logic_error' what(): subtraction: incompatible matrix dimensions: 3x1 and 1x1 Aborted (core dumped)
< zoq>
I see, the problem here is that if you use the MeanSquaredError layer the label size has to match with the output layer size, in yur case the label size is 1 and the network outout size is 3
< kartik_>
with mean square error .. even uncommenting line 25 and 29 gives error which works fine in negativelikelihood