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

For loop for examples meta-language #4418

Closed
avramidis opened this issue Nov 20, 2018 · 1 comment
Closed

For loop for examples meta-language #4418

avramidis opened this issue Nov 20, 2018 · 1 comment

Comments

@avramidis
Copy link
Contributor

I am in the process of converting the shogun/examples/undocumented/python/distribution_hmm.py to a meta example. I am stuck at the lines with the for loops.

I checked the meta language files and could not find any mechanism for loops. I am happy to implement it if that is the case.

Thanks!

@karlnapf
Copy link
Member

Hi!

Thanks for getting involved here.
There currently is neither a LOOP or a WHILE construct in the meta language... the language is supposed to be very simple and only just expressive enough for API examples.

We might change this at some point, but it is unlikely for now. What we usually do is to load datasets from files in case you want to generate training data. Have a look at the other examples to find inspiration.

Let me know if you need further help. This issue is best discussed on the mailing list, irc, or on stackoverflow.

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