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

Add parameter class #38

Merged
merged 8 commits into from
Jan 20, 2022
Merged

Add parameter class #38

merged 8 commits into from
Jan 20, 2022

Conversation

zhengp0
Copy link
Member

@zhengp0 zhengp0 commented Jan 20, 2022

No description provided.

@zhengp0 zhengp0 merged commit 97f697c into develop Jan 20, 2022
@zhengp0 zhengp0 deleted the feature/parameter branch January 20, 2022 06:11
zhengp0 added a commit that referenced this pull request Jan 22, 2022
* Update data and prior classes (#36)

* Add prior classes (#35)

* Add component and validator to data (#33)

* Add component and validator module

* Switch validator functions to class

* Improve the error message

* Add docstring and update the documentation

* Add test for data.component

* Update the type check for validator inside the component

* Add test for validator

* Add data prototype class (#34)

* Add data prototype class

* Add test for data prototype

* Update the documentaion for data prototype

* Update the interface of old data class

* Add prior class

* Add tests for the prior class

* Separate out the prior class and create spline prior getter

* Add test for prior getter

* Add docstrings and update documents

* Remove the notebooks and add to gitignore

* Rename of the test prior getter

* Update the numpy requirement

* Add variable class (#37)

* Add initial design for the variable class

* Fix issues for variable and add default params for prior

* Add spline variable

* Move all getters into the getter subpackage

* Add protected variable class attribute '_prior_types' for type checking

* Move get_prior_type and filter_priors into the utils module in prior subpackage

* Add tests for the prior/utils

* Add test for spline getter

* Add test for variable class

* Add test for spline variable

* Add the test files

* Add and test function combine_priors_params

* Remove the combine_priors_params since it is not generalizable

* Update docstring and the document

* Add parameter class (#38)

* Remove the variable classes in the parameter subpackage

* Add initial design for parameter class

* Add all regular port for parameter class

* Add general get params function

* Add smoothmap module in parameter subpackage

* Add tests for the smoothmap

* Add tests for the parameter class

* Add docstring and update the document

* Remove the old scripts

* Remove the old script

* Add model class and examples (#39)

* Protect the get_prior_params functions in Parameter and expose the objective, gradient and hessian function from the prior

* Store all gathered prior information in prior_dict

* Add initial design for the model prototype

* Implement the fit and predict function

* Trun ModelPrototype into a abstract class

* Add example data class

* Add model example class

* Add test for model prototype and model example

* Add docstring and documentation for the model class

* Remove class solver and bootstrap for cleaness

* Update the documentation

* Update the version and license date

* Update version in the anml documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant