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/
< sumedhghaisas_>
zoq: Hey Marus... are the gradients passing on your machine? cause I was going through my code yesterday ... but whatever changes I make the gradient are still passing so I dont know if I have fixed the issue of not
< sumedhghaisas_>
*or
< ironstark>
zoq: Yes that is the part where I was putting the labels together
< ironstark>
I'll make that change
sumedhghaisas_ has quit [Ping timeout: 246 seconds]
partobs-mdp has joined #mlpack
sumedhghaisas_ has joined #mlpack
partobs-mdp has quit [Remote host closed the connection]
sumedhghaisas_ has quit [Ping timeout: 246 seconds]
kris1 has joined #mlpack
< kris1>
lozhnikov: Did you look at my comments on Github.
< lozhnikov>
kris1: I have woken up 5 minutes ago
< kris1>
Ohhhh okay…….have a look when you can.......
govg has joined #mlpack
kris1 has quit [Quit: kris1]
< rcurtin>
ironstark: zoq: I am finally back in stable, reliable internet zone, I will catch up on the benchmarking PRs tonight and tomorrow
kris1 has joined #mlpack
kris1 has quit [Quit: kris1]
kris1 has joined #mlpack
kris1 has quit [Quit: kris1]
partobs-mdp has joined #mlpack
vpal has joined #mlpack
vivekp has quit [Ping timeout: 268 seconds]
vpal is now known as vivekp
kris1 has joined #mlpack
kris1 has quit [Quit: kris1]
kris1 has joined #mlpack
kris1 has quit [Quit: kris1]
andrzejku has joined #mlpack
andrzejku has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kartik_ has joined #mlpack
< kartik_>
hi <zoq> a little bit of documentation of cmaes remains. Will get completed in some hours. Can u take a look at the PR and tell your views?
< zoq>
kartik_: Sure, I'll take a look once I get a chance, probably later today or tomorrow.
kartik__ has joined #mlpack
< zoq>
kartik__: Looks like the nan issue still remains after switching from arma::sort.
< kartik__>
<zoq> about CNE. can u give me some start pointers ..
kartik_ has quit [Ping timeout: 260 seconds]
< kartik__>
i changed the uvec to vec and ran it several times .. i didnt saw one then.. also checked the output also of sort many times ..
< zoq>
just checked the travis build error
< kartik__>
yes after that switched to simple vector and the problem didnt persist. nan refers that the value it got is infinite ? . for CNE. using FFN and to put the weight values and running the model. then again retreiving and modify the values and running the model again. Is there a code where i can see this happening?
< kartik__>
here the network is made from scratch and ill be using the FFN class. is it possible to retrieve weights and modify and give them back and test the output of the neural network
< zoq>
Yes, the same way as you used for the CMAES method, Parameters() returns the network weights and Evaluate() can be used to test the updated weights.
< kartik__>
ill add into the CNE constructor all the params values .. or should i also go for the params class. Also default values for some parameters can also be set
< zoq>
I would go with using the constructor to set the all values.
< kartik__>
okae..
< zoq>
So, bascially you can create a simple network first, and call the optimizer the same way as you did with the CMAES optimizer. Internally you can use Parameters() and Evaluate().
< kartik__>
oh yes .. sry .. the evaluate gives all the weights one by one ..
< kartik__>
so the model.train is called in FNN
< kartik__>
then the evaluate is called with a function in FNN
< zoq>
yes, something like this:
< zoq>
CNE opt(CNE parameter);
< kartik__>
what about the result of a feed forward pass. how would i get that... and having multiple weights of a population .. im getting a lil confused
< zoq>
model.Train(trainData, trainLabels, opt);
< kartik__>
but there wont be any training data and labels .. so i think i cant use the train method
< zoq>
Inside the CNE optimizer, you can copy the network parameter to create a population. And as I said to get the results of the Forward pass (fitness) you can use the Evaluate function.
< zoq>
In this case the train/label data is our environment.
< zoq>
Just like before you optimized the logistic function on user defined data points.
< kartik__>
that would be good. then to set the parameters back again etc. do we have a test code for this?
< zoq>
kartik__: Not sure I get the point about the test code.
< zoq>
I could sketch something up, if you think that would be helpful, but unfortunately not before tomorrow.
< kartik__>
like after getting the parameters from a network. I modify it and want to test it again for the next fitness value .. how i will do that ?
< kartik__>
it will be done in optimizer ..
< kartik__>
where ill get the network as a function
< zoq>
It's part of the Optimize function, it's the first parameter.
< kartik__>
oh sry
< zoq>
Take a look at the SGD optimizer
< kartik__>
i totally get it now
< kartik__>
just got a little confused
< kartik__>
thats the evalute function
< zoq>
no problem :)
< kartik__>
so i think im good to go for that
< kartik__>
ill start with the work then. Thanks.
< zoq>
okay, I think you could use the SGD class as basis, remove the Gradient call and implement the CNE update routine instead of updatePolicy.Update
< zoq>
in the SGD class case iterate contains the network parameter
< kartik__>
ohkae .. ill ask question as it comes by .. thanks :)
< zoq>
okay, here to help
kartik__ has quit [Quit: Page closed]
mentekid has joined #mlpack
mentekid has quit [Quit: Leaving.]
mentekid has joined #mlpack
mentekid has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 276 seconds]
http_GK1wmSU has joined #mlpack
sumedhghaisas_ has joined #mlpack
http_GK1wmSU has left #mlpack []
partobs-mdp has quit [Remote host closed the connection]
< sumedhghaisas_>
zoq: Hey Marcus... how I run copy task tests for NTM on the server?
< sumedhghaisas_>
I am still not able to figure out the problem in gradients. Did you had any luck there?
< sumedhghaisas_>
the individual componenets checks out fine. I think there might be small issue in NTM module.