Closed bpbond closed 1 year ago
Also, it seems like optim
can't find good solutions if the numerical values are very small, so we ended up changing from ml/day to µl/day:
This needs to be documented.
Possible issue with gradient vs line function?
https://stat.ethz.ch/pipermail/r-help/2007-February/126209.html
$convergence [1] 52
$message [1] "ERROR: ABNORMAL_TERMINATION_IN_LNSRCH"
"You can try with other optimizers (complete list on the optimization task view), until you find one for which the optimization converges."
Let's discuss.
Seems like this is now occurring for lots of samples.
Seems like this is now occurring for lots of samples.
Hmm...I'm getting the same results after pulling the most recent versions. There are many samples with good fits that generate the error message, is that what you reference here?
Yes, that's what I'm seeing too. I agree, though—the fits are good.
This issue was resolved by correctly implementing the cost function, see PoolDilutionR ?pdr_cost()
As noted in the just-closed #14 , right now the optimizer fits total methane (m) well, but for a subset can't replicate labeled methane (n). These samples share some characteristics:
...such as high initial 12CH4 and 13CH4 and crucially—it seems like—AP that doesn't drop very fast or at all.
The big question, I think: what next. Do we