Abf-optgprhyprms: Difference between revisions

From PMFLib Wiki
Jump to navigation Jump to search
(Created page with "a")
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
a
{{DISPLAYTITLE:abf-optgprhyprms}}
Navigation: [[Documentation]] / [[Methods]] / [[Adaptive Biasing Force Method]] / [[ABF:Utilities]] / [[abf-optgprhyprms]]
----
{{ABFUtils}}
<div style="text-align: center">abf-optgprhyprms: version 5.271.40980cf (2020-03-02 15:18)</div>'''Name'''
 
<span style="margin-left: 15px;">abf-optgprhyprms</span>
 
'''Synopsis'''
 
<span style="color: maroon; margin-left: 15px;">abf-optgprhyprms</span> <span style="color: blue;">[OPTIONS]</span> [--] <span style="color: purple;">accuname1 [accuname2 [..]] hyprmsname</span>
 
'''Description'''
 
<p style="text-indent: 1em; text-align: justify;">abf-optgprhyprms finds optimal GPR hyperparameters, which maximize logarithm of marginal likelihood. The optimization is performed by the L-BFGS optimizer employing either analytical or numerical gradients of logML w.r.t. hyperparameters.</p>
 
'''Arguments'''
 
<div style="margin-left: 2em;"><span style="color: darkcyan;"><span style="font-style: bold;">accuname1</span></span>                  Name of file containing the ABF accumulator.<br /><span style="color: darkcyan;"><span style="font-style: bold;">hyprmsname</span></span>                Name of file where the optimized GPR hyperparameters are saved. If the name is '-' then the output will be written to the standard output.</div>
 
'''Options'''
 
{| style="margin-left: 2em; width: 95%;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-t, --target NAME</span><br/><div style="margin-left: 30px;">Specify optimized targed, which can be either logml (log of marginal likelihood) or logpl (log of pseudo-likelihood from leave-one-out cross-validation (LOO-CV)).</div><span style="color:purple; margin-left: 30px;">(Default: logml)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">-a, --lmethod NAME</span><br/><div style="margin-left: 30px;">Linear algebra method for matrix inversion. Supported algorithms are: default, svd (SVD - singular value decomposition, divide and conquer driver), svd2 (SVD - singular value decomposition, simple driver), lu (LU factorization), and ll (LL - Cholesky factorization).</div><span style="color:purple; margin-left: 30px;">(Default: default)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-r, --rcond NUMBER</span><br/><div style="margin-left: 30px;">Rank condition for SVD. Used value must be carefully tested. Calculation at computer precision is requested with -1 (not recommended).</div><span style="color:purple; margin-left: 30px;">(Default: 1e-06)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">-s, --sigmaf2 NUMBER</span><br/><div style="margin-left: 30px;">Variance of the reconstructed free energy surface (signal variance).</div><span style="color:purple; margin-left: 30px;">(Default: 15)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-c, --ncorr SPEC</span><br/><div style="margin-left: 30px;">GPR: Number of statistically correlated samples in the form NCorr1[xNCorr2x...]. The last value pads the rest. Split ncorr mode is enabled by the --splitncorr option.</div><span style="color:purple; margin-left: 30px;">(Default: 1.0)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">--splitncorr</span><br/><div style="margin-left: 30px;">Use indepenedent ncorr for each CV.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-w, --wfac SPEC</span><br/><div style="margin-left: 30px;">Factors influencing widths of RBFs or square exponential kernels. The width is distance between the adjacent square exponential functions multiplied by this factors in the form WFac1[xWFac2x...]. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: 3.0)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">--enablesigmaf2</span><br/><div style="margin-left: 30px;">Enable optimization of SigmaF2 hyperparameter.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--enablencorr SPEC</span><br/><div style="margin-left: 30px;">Enable optimization of NCorr hyperparameter. Flags are specified in the form Ncorr1Enabled[xNcorr2Enabledx...] with F and T for disabled and enabled, respectively. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: F)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">--enablewfac SPEC</span><br/><div style="margin-left: 30px;">Enable optimization of Wfac hyperparamters. Flags are specified in the form WFac1Enabled[xWFac2Enabledx...] with F and T for disabled and enabled, respectively. The last value pads the rest.</div><span style="color:purple; margin-left: 30px;">(Default: F)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--numeric</span><br/><div style="margin-left: 30px;">Use numeric gradients.</div>
|- style="vertical-align: top;"
|<span style="color: blue;">--noptsteps NUMBER</span><br/><div style="margin-left: 30px;">Maximum number of optimization steps.</div><span style="color:purple; margin-left: 30px;">(Default: 100)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--nresets NUMBER</span><br/><div style="margin-left: 30px;">Maximum number of resets due to insufficient optimization progress.</div><span style="color:purple; margin-left: 30px;">(Default: 3)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">--termeps NUMBER</span><br/><div style="margin-left: 30px;">Termination criteria for L-BFGS optimizer (see L-BFGS code).</div><span style="color:purple; margin-left: 30px;">(Default: 1e-05)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--termval NUMBER</span><br/><div style="margin-left: 30px;">Termination criteria for L-BFGS optimizer. Minimum change of optimized property.</div><span style="color:purple; margin-left: 30px;">(Default: 1e-06)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">--nlbfgscorr NUMBER</span><br/><div style="margin-left: 30px;">Number of corrections used in an L-BFGS update.</div><span style="color:purple; margin-left: 30px;">(Default: 10)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--test</span><br/><div style="margin-left: 30px;">Compare analytical and numerical gradient for input hyperparameters.</div>
|- style="vertical-align: top;"
|<span style="color: blue;">--cd5</span><br/><div style="margin-left: 30px;">Use 5-point stencil for numerical differentiation.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--loadhyprms NAME</span><br/><div style="margin-left: 30px;">Name of file with GPR hyperparameters.</div>
|- style="vertical-align: top;"
|<span style="color: blue;">--stat</span><br/><div style="margin-left: 30px;">Calculate detailed GPR status employing found hyperparameters.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--sptype</span><br/><div style="margin-left: 30px;">Determine type of stationary point.</div>
|- style="vertical-align: top;"
|<span style="color: blue;">--numdiff</span><br/><div style="margin-left: 30px;">Use numerical differentiation of kernel function (for testing only).</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--kernel NAME</span><br/><div style="margin-left: 30px;">GPR: Kernel type. Supported types: ardse (ARD squared exponential), ardmc52 (ARD Matern class 5/2), default(=ardse)</div><span style="color:purple; margin-left: 30px;">(Default: default)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">--useinv</span><br/><div style="margin-left: 30px;">Use matrix inversion pathway (for testing only).</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--calclogpl</span><br/><div style="margin-left: 30px;">Calculate logPL for --stat if --target is not logpl.</div>
|- style="vertical-align: top;"
|<span style="color: blue;">--globalmin SPEC</span><br/><div style="margin-left: 30px;">position of global minimum provided as a single string in the form CV1xCV2x...xCVn (relevant for error determination), if not set the position is determined automatically.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--inczpe</span><br/><div style="margin-left: 30px;">Include zero-point energy at position specified by --globalmin.</div>
|- style="vertical-align: top;"
|<span style="color: blue;">-v, --verbose</span><br/><div style="margin-left: 30px;">Increase output verbosity.</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">--version</span><br/><div style="margin-left: 30px;">Output version information and exit.</div>
|- style="vertical-align: top;"
|<span style="color: blue;">-h, --help</span><br/><div style="margin-left: 30px;">Display this help and exit.</div>
|}

Latest revision as of 16:52, 6 March 2020

Navigation: Documentation / Methods / Adaptive Biasing Force Method / ABF:Utilities / abf-optgprhyprms


ABF Utilities

abf-optgprhyprms: version 5.271.40980cf (2020-03-02 15:18)

Name

abf-optgprhyprms

Synopsis

abf-optgprhyprms [OPTIONS] [--] accuname1 [accuname2 [..]] hyprmsname

Description

abf-optgprhyprms finds optimal GPR hyperparameters, which maximize logarithm of marginal likelihood. The optimization is performed by the L-BFGS optimizer employing either analytical or numerical gradients of logML w.r.t. hyperparameters.

Arguments

accuname1 Name of file containing the ABF accumulator.
hyprmsname Name of file where the optimized GPR hyperparameters are saved. If the name is '-' then the output will be written to the standard output.

Options

-t, --target NAME
Specify optimized targed, which can be either logml (log of marginal likelihood) or logpl (log of pseudo-likelihood from leave-one-out cross-validation (LOO-CV)).
(Default: logml)
-a, --lmethod NAME
Linear algebra method for matrix inversion. Supported algorithms are: default, svd (SVD - singular value decomposition, divide and conquer driver), svd2 (SVD - singular value decomposition, simple driver), lu (LU factorization), and ll (LL - Cholesky factorization).
(Default: default)
-r, --rcond NUMBER
Rank condition for SVD. Used value must be carefully tested. Calculation at computer precision is requested with -1 (not recommended).
(Default: 1e-06)
-s, --sigmaf2 NUMBER
Variance of the reconstructed free energy surface (signal variance).
(Default: 15)
-c, --ncorr SPEC
GPR: Number of statistically correlated samples in the form NCorr1[xNCorr2x...]. The last value pads the rest. Split ncorr mode is enabled by the --splitncorr option.
(Default: 1.0)
--splitncorr
Use indepenedent ncorr for each CV.
-w, --wfac SPEC
Factors influencing widths of RBFs or square exponential kernels. The width is distance between the adjacent square exponential functions multiplied by this factors in the form WFac1[xWFac2x...]. The last value pads the rest.
(Default: 3.0)
--enablesigmaf2
Enable optimization of SigmaF2 hyperparameter.
--enablencorr SPEC
Enable optimization of NCorr hyperparameter. Flags are specified in the form Ncorr1Enabled[xNcorr2Enabledx...] with F and T for disabled and enabled, respectively. The last value pads the rest.
(Default: F)
--enablewfac SPEC
Enable optimization of Wfac hyperparamters. Flags are specified in the form WFac1Enabled[xWFac2Enabledx...] with F and T for disabled and enabled, respectively. The last value pads the rest.
(Default: F)
--numeric
Use numeric gradients.
--noptsteps NUMBER
Maximum number of optimization steps.
(Default: 100)
--nresets NUMBER
Maximum number of resets due to insufficient optimization progress.
(Default: 3)
--termeps NUMBER
Termination criteria for L-BFGS optimizer (see L-BFGS code).
(Default: 1e-05)
--termval NUMBER
Termination criteria for L-BFGS optimizer. Minimum change of optimized property.
(Default: 1e-06)
--nlbfgscorr NUMBER
Number of corrections used in an L-BFGS update.
(Default: 10)
--test
Compare analytical and numerical gradient for input hyperparameters.
--cd5
Use 5-point stencil for numerical differentiation.
--loadhyprms NAME
Name of file with GPR hyperparameters.
--stat
Calculate detailed GPR status employing found hyperparameters.
--sptype
Determine type of stationary point.
--numdiff
Use numerical differentiation of kernel function (for testing only).
--kernel NAME
GPR: Kernel type. Supported types: ardse (ARD squared exponential), ardmc52 (ARD Matern class 5/2), default(=ardse)
(Default: default)
--useinv
Use matrix inversion pathway (for testing only).
--calclogpl
Calculate logPL for --stat if --target is not logpl.
--globalmin SPEC
position of global minimum provided as a single string in the form CV1xCV2x...xCVn (relevant for error determination), if not set the position is determined automatically.
--inczpe
Include zero-point energy at position specified by --globalmin.
-v, --verbose
Increase output verbosity.
--version
Output version information and exit.
-h, --help
Display this help and exit.