davharris / mistnet2

Neural Networks with Latent Random Variables in R
Other
4 stars 0 forks source link

clean up optimx `control` list #69

Open davharris opened 7 years ago

davharris commented 7 years ago

Right now, passing a value to REPORT or kkt overwrites maximize and starttests.

Also, REPORT seems to get ignored (or maybe isn't even passed where it needs to go)

net = mistnet_fit(net, itnmax = 7000, 
                  control = list(maximize = TRUE, starttests = FALSE, 
                                 kkt = FALSE, REPORT = 1))
davharris commented 7 years ago

Apparently, REPORT isn't used by the default optimization method. Use trace instead.