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

JavaException: String index out of range: 2 #102

Open
Angela446-lgtm opened this issue Jun 17, 2021 · 1 comment
Open

JavaException: String index out of range: 2 #102

Angela446-lgtm opened this issue Jun 17, 2021 · 1 comment

Comments

@Angela446-lgtm
Copy link

I am working on medical dataset, approximatly 120 discrerte variables and I would like to run the GFCI algorithm with bootstraping and no prior knowledge.

tetrad.run(algoId = 'gfci', dfs = df, testId = 'disc-bic-test', scoreId = 'bdeu-score',
priorKnowledge = None, dataType = 'discrete',
maxDegree = 3, maxPathLength = -1,
completeRuleSetUsed = False, faithfulnessAssumed = True, verbose = True,
numberResampling = 5, resamplingEnsemble = 1, addOriginalDataset = True)

Talking this error :JavaException: String index out of range: 2
Can you help me find the error?

Thank you,
Angela

@kvb2univpitt
Copy link

@Angela446-lgtm My guess is that you're missing quotes around the df parameter:

tetrad.run(algoId = 'gfci', dfs = df, testId = 'disc-bic-test', scoreId = 'bdeu-score',...

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

No branches or pull requests

2 participants