Requesting some help to setup a complicated constraint #998
Unanswered
JulianoGianlupi
asked this question in
Q&A
Replies: 1 comment 8 replies
-
@JulianoGianlupi We always recommend a complete, minimal example. We want to see how you define parameters, what your objective function or model function is, and how these are used to do the fit. With incomplete snippets of code, we do not know what you are doing. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! First of all, I am sorry if I am a bit vague with my descriptions, proprietary information and all that.
So, I have a logistic growth model for cell populations that I am trying to parametrize through fitting. I.e.,
I have data for growth under different conditions of "chemical mixtures," and r (growth rate), C (carry capacity), and the initial population (N0) are a function of the concentrations of the different chemicals in these mixtures. E.g.,
with$\vec{\kappa}$ the vector of chemical concentrations, and $\beta_i$ the contribution of the $i$ -th chemical to the carry capacity. Now, cells occupy space, so the carry capacity has a limit, and here's my problem, how can I define bounds for $C_{base}$ and the $\beta$ -s?
For now what I am doing is calculating C during the cost difference calculation like this:
Which is not ideal, as the minimization algorithm can just go
>max_cc
indefinitely and not explore actually reasonable values for the betas. My issue is that I can't simply constrain the sum of my parameters to an inequality as in the examples because I have influence from the input (data) itself.In other words doing
won't work because there is the multiplication of the betas by the concentration.
I know there is
user_data
with theParameter
class, but I couldn't find any examples on how to use it. Would that be a possible avenue to reach a solution?Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions