-
Notifications
You must be signed in to change notification settings - Fork 29
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
Parameter fitting of compositions using MLE via probability density approximation #1920
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…Link into pred_prey_opt
…Link into pred_prey_opt
…Link into pred_prey_opt
…Link into model-fit # Conflicts: # psyneulink/components/functions/function.py # psyneulink/components/mechanisms/mechanism.py # psyneulink/components/system.py # psyneulink/globals/environment.py # psyneulink/library/subsystems/evc/evcauxiliary.py
The standard deviation of the Gaussian noise for the DDM is conventionally defined as noise * sqrt(dt). See Bogacz et al., Eq 6.
Default value of 1000 is arbitrary, should be unlimited in my opinion. When time_step_size gets below 0.001 then 1000 steps are often needed. Setting the sys.maxsize make its practically unlimited for now. This is a hack though, maybe there is a way to disable the limit but I can't find it in the docs.
- _sequential_evaluate: implement same_randomization_for_all_allocations
_function: re-removed num_estiamtes loop, and use np.apply to apply aggregation_function
- _function: refactored to put use aggregation_function at end - _grid_evaluate: still needs to return all_samples
- _function: refactored to put use aggregation_function at end - _grid_evaluate: still needs to return all_samples
- _gen_llvm_evaluate_function: num_estimates -> num_trials_per_estimate
…teger Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
get_param_struct_type(): restored test on num_estimates
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
GradientOptimization was invoking the base class _function implementation which is an abstract method now. It now invokes _evaluate instead to get the old behaviour.
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
This pull request introduces 32 alerts and fixes 1 when merging 657cb78 into c7c172b - view on LGTM.com new alerts:
fixed alerts:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Initial implementation of parameter estimation with compositions using maximum likelihood estimation (MLE) via probability density approximation (PDA).