Skip to content
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

Variogram fitting update #78

Merged
merged 32 commits into from
Apr 21, 2020
Merged

Variogram fitting update #78

merged 32 commits into from
Apr 21, 2020

Conversation

MuellerSeb
Copy link
Member

@MuellerSeb MuellerSeb commented Apr 14, 2020

This PR introduces an updated variogram fitting routine:

  • fixing sill possible now
  • loss is now selectable for smoother handling of outliers
  • r2 score can now be returned to get an impression of the goodness of fitting
  • weights can be passed
  • instead of deselecting parameters, one can also give fix values for each parameter

Also:

  • minor doc fixes
  • skip travis builds for PRs from our own repo
  • better setting of bounds in CovModel

@MuellerSeb MuellerSeb added enhancement New feature or request Refactoring Code-Refactoring needed here labels Apr 14, 2020
@MuellerSeb MuellerSeb added this to the 1.3 milestone Apr 14, 2020
@MuellerSeb MuellerSeb requested a review from LSchueler April 14, 2020 16:21
@MuellerSeb MuellerSeb self-assigned this Apr 14, 2020
@MuellerSeb MuellerSeb changed the title Vario fit update Variogram fitting update Apr 14, 2020
Copy link
Member Author

@MuellerSeb MuellerSeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fine.

@MuellerSeb
Copy link
Member Author

@LSchueler : When you are ok with that, I would merge.

Copy link
Member

@LSchueler LSchueler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fit_variogram function is veeery long. If you promise to refactor it some time, then I'm fine with a merge right now ;-)

gstools/covmodel/fit.py Show resolved Hide resolved
gstools/covmodel/fit.py Show resolved Hide resolved
@MuellerSeb
Copy link
Member Author

The fit_variogram function is veeery long. If you promise to refactor it some time, then I'm fine with a merge right now ;-)

Refactored. You were totally right!

Copy link
Member Author

@MuellerSeb MuellerSeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally. Merging when CI is fine.

@MuellerSeb MuellerSeb merged commit d8b5a3f into develop Apr 21, 2020
@MuellerSeb MuellerSeb deleted the vario_fit_update branch April 29, 2020 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Refactoring Code-Refactoring needed here
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants