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

Examples? #93

Open
echo66 opened this issue Jul 6, 2018 · 8 comments
Open

Examples? #93

echo66 opened this issue Jul 6, 2018 · 8 comments

Comments

@echo66
Copy link

echo66 commented Jul 6, 2018

Greetings!

I'm looking for code examples on how to use PonyGE2 but I'm out of luck. Where should I look to learn more? Thanks in advance!

@dvpfagan
Copy link
Collaborator

dvpfagan commented Jul 6, 2018 via email

@echo66
Copy link
Author

echo66 commented Jul 6, 2018

Hello Dave!

Does it show how to use the library classes and modules? Or just the command line? AFAIK, there is only the command line interface, right?

@dvpfagan
Copy link
Collaborator

dvpfagan commented Jul 6, 2018 via email

@echo66
Copy link
Author

echo66 commented Jul 6, 2018

I was trying to find documentation to use PonyGE2 in the same way I would use DEAP or a similar tool (e.g. a python notebook or ipython REPL).

@dvpfagan
Copy link
Collaborator

dvpfagan commented Jul 6, 2018 via email

@echo66
Copy link
Author

echo66 commented Jul 6, 2018

Thank you for the clarification.

@buddha314
Copy link

I agree I would like to see a "quick start" tutorial. This page is basically "run this command line". For me, fitting a polynomial would be extremely useful.

@dvpfagan
Copy link
Collaborator

@buddha314 so for the examples given in the quick start, the parameter files load the required parameters to do the run. For fitting a polynomial you just have to provide your samples into the train parameter as a txt file like Vladislavleva4/Train.txt and then select a grammar such as supervised_learning/Vladislavleva4.bnf then run the command. There has been a concerted effort from the development team to only provide realistic benchmarks problems in the software, as the EC field is trying to move towards using better benchmark problems as discussed here (https://cs.gmu.edu/~sean/papers/gecco12benchmarks3.pdf) and subsequent papers.

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

3 participants