lnccbrown / lnccbrown/ssm-simulators

HDDM issue : 'race_no_bias_3' (and not with 'race_no_bias_4')

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

linear-ssm-simulators
Dominant language
Jupyter Notebook
Stars
24
Forks
18
Avg merge
1d 14h
Merged PRs (30d)
9

Description

# Hello there,

**I am working with the latest version of the HDDM 0.98RC, using this virtual machine https://github.com/hcp4715/dockerHDDM_Guide which has everything installed.**

**I'm trying to use the 'race_no_bias_3'
So I first followed the instructions from your tutorial,**

**1) I generate the data**

_Metadata_
nmcmc = 1000
model = 'race_no_bias_3'
n_samples = 1000

includes = hddm.model_config.model_config[model]['hddm_include']

from hddm.simulators.hddm_dataset_generators import simulator_h_c
data, full_parameter_dict = simulator_h_c(n_subjects = 1,
n_trials_per_subject = n_samples,
model = model,
p_outlier = 0.00,
conditions = None,
depends_on = None,
regression_models = None,
regression_covariates = None, # need this to make initial covariate matrix from which to use dmatrix (patsy)
group_only_regressors = False,
group_only = None,
fixed_at_default = None)

**and it works perfectly.**

**2) Then, I try to run the model to obtain the estimated parameters of the data**

hddmnn_model = hddm.HDDMnn(data,
informative = False,
include = includes,
p_outlier = 0.01,
w_outlier = 0.1,
model = model,)

**And I obtain this message:**

Couldn't execute load_torch_mlp()...
Option 1: pytorch not installed or version older than 1.7?
Option 2: pytorch model for your model string is not yet available

**And this is super weird because when I try the same procedure with _model = 'race_no_bias_4'_ (instead or 3) it works perfectly! I don't get any weird messages about Pytorch and I'm able to estimate the parameters. And the difference between one model and the other is just one more option as a response, right?**

Does anyone encounter the same problem?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the supplied simulator_h_c example and the HDDMnn call in the dockerHDDM_Guide environment. Compare the model_config entries and load_torch_mlp behavior for race_no_bias_3 and race_no_bias_4, then verify whether the former can be loaded and estimated or document its supported status.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.