-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added check function for weighted data #189
base: master
Are you sure you want to change the base?
Conversation
@pkofod Any chance to get this merged soon(ish)? If there are any objections let me know too so I can adapt it. |
I'm very sorry for taking so long here. I think it would be a bit simpler if you just gave
or something similar |
54c4636
to
94a15f0
Compare
Thanks for the comment. |
94a15f0
to
b1fb52f
Compare
b1fb52f
to
3f0459f
Compare
Sorry for all the force-pushes but the commit history was kind of confusing and I wanted to clean it up. |
I'm sorry for abandoning this discussion. Is this still relevant to you? If so, I would ask of you to add some tests, and then I will merge and release it asap. |
No worries 😉 |
@briederer , maybe you have time to finish this PR? |
Thanks for the bump. |
@briederer I pushed to your branch. I think it's ready now, but tests don't deploy so I need to look into that |
Thanks @pkofod |
I ran into a small problem, that
curve_fit(model, xdata::AbstractArray, ydata::AbstractArray, wt::AbstractArray{T}, p0::AbstractArray; inplace = false, kwargs...) where T
tried to fit my function for a weight1/0 = Inf
.So I thought it would be useful to also check weights for
NaN
,Inf
orMissing
-values if provided.