Inconsistencies with non-parameter model function arguments #920
Replies: 3 comments 8 replies
-
The plotting feature is a very rudimentary convenience function. You presumably need to pass the independent variable to the plot function as well. I can take a closer look at this, but it doesn’t necessarily appear as a real GitHub Issue. If you read the instructions you would have realized that, and at least provided all the information requested in the template. |
Beta Was this translation helpful? Give feedback.
-
You did not provide all the requested information.
It may be no matter to you. It is a matter to us. Again, you probably really want to specify that
|
Beta Was this translation helpful? Give feedback.
-
I'm unsure how to interpret the lack of response here. Are you dealing with this in the background, do you not want to engage with this issue or is time just in too short supply at the moment? Would it help you if I opened another issue, following the template to the letter? |
Beta Was this translation helpful? Give feedback.
-
Description
I have a model function that contains a keyword argument that is not part of the fit parameters (but not a compulsory independent variable either). My expectation was that I can just pass it as a keyword argument to the model's
fit()
method when I need to set it. Here's an example withs
being the argument in question.Passing
s
tofit()
like this results a warning.However, the fit still seems to perform as expected, i.e. the argument is passed on to the fitting function, the resulting parameters are correct. Here's the fit report (
a = 2.3
andb = 1.7
were used during data synthesis).Adding to the confusion, the fit result's
plot()
function draws the correct residuals and data but an incorrect best fit, i.e. it really does ignores
here.The
eval()
method on the other hand seems to respects
.Version information
Beta Was this translation helpful? Give feedback.
All reactions