Skip to content

MRG augment string parameter for algorithms by optional dict of kwargs - #24

Merged
amueller merged 2 commits into
pystruct:masterfrom
amueller:flexible_inference_parameters
Jul 18, 2013
Merged

amueller merged 2 commits into
pystruct:masterfrom
amueller:flexible_inference_parameters

Conversation

@amueller

Copy link
Copy Markdown
Member

This allows passing algorithm parameters - like what algorithm in dai or opengm, how many iterations etc.. directly to the inference_method parameter.
Do you think the tuple is a good idea? Or should we have "either string or dict"?

@fgregg

fgregg commented Jul 16, 2013

Copy link
Copy Markdown
Contributor

This seems like a good approach.

@amueller

Copy link
Copy Markdown
Member Author

@vene opinions?

@amueller

Copy link
Copy Markdown
Member Author

merging...

amueller added a commit that referenced this pull request Jul 18, 2013
MRG augment string parameter for algorithms by optional dict of kwargs
@amueller
amueller merged commit 0a2f7ed into pystruct:master Jul 18, 2013
@amueller
amueller deleted the flexible_inference_parameters branch July 18, 2013 08:57
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

Successfully merging this pull request may close these issues.

2 participants