
Create a Python HDDM fitting script from a Gazepoint HDDM export
Source:R/experimental_bayesian_bridges.R
create_gazepoint_hddm_fit_script.RdWrites a Python script for fitting an HDDMRegressor model. The function does not fit HDDM inside R and does not require Python. It creates a reproducible script that can be run in a Python/HDDM environment.
Arguments
- data_file
Path to a CSV file prepared with
prepare_gazepoint_hddm_export().- output_file
Path where the Python script should be written.
- regressions
Named character vector. Names should be DDM parameters such as
"v","a","t", or"z"; values should be predictor terms.- include
Character vector of DDM parameters to include.
- draws
Number of posterior draws.
- burn
Number of burn-in samples.
- dbname
HDDM trace database name.