[16080] | 1 | go-pge
|
---|
| 2 | ======
|
---|
| 3 |
|
---|
| 4 | If you publish any work using this software, please cite:
|
---|
| 5 |
|
---|
| 6 | Tony Worm and Kenneth Chiu. Prioritized Grammar Enumeration: Symbolic Regression by Dynamic Programming.
|
---|
| 7 | In Proceedings of the Genetic and Evolutionary Computation Conference (GECCOâ2013). July 6-10 Amsterdam, Netherlands.
|
---|
| 8 |
|
---|
| 9 | Sorry there is a bunch of garbage hanging around in the code base.
|
---|
| 10 | (and a dependency go-levmar [which can be a pain to get setup])
|
---|
| 11 |
|
---|
| 12 |
|
---|
| 13 | Some insight into how to use go-pge
|
---|
| 14 | ===================================
|
---|
| 15 |
|
---|
| 16 | scripts/test.sh has an example of usage, plus batch running
|
---|
| 17 |
|
---|
| 18 | It basically uses a bunch of config files as parameters
|
---|
| 19 |
|
---|
| 20 | some places to look for example files:
|
---|
| 21 | - the config/* directories
|
---|
| 22 | - main.go (that's where all of the cmd line args are)
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | go-pge processes data sets
|
---|
| 26 |
|
---|
| 27 | I set it up to read a particular data format, maybe more than one, can't recall for sure
|
---|
| 28 | basically white space seperated with the variable names at the top of the file
|
---|
| 29 | (sample benchmark files are around)
|
---|
| 30 |
|
---|
| 31 | There may be code paths hanging around to allow you to use multiple input sets
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | Installation
|
---|
| 35 | =====================================
|
---|
| 36 |
|
---|
| 37 | 1. install Go (golang.org)
|
---|
| 38 | 2. add $GOROOT to $PATH
|
---|
| 39 | 3. sudo apt-get install g++ cmake liblapack3 liblapack-dev libblas3 libblas-dev f2c (ubuntu)
|
---|
| 40 |
|
---|
| 41 | 4. go get github.com/verdverm/go-pge
|
---|
| 42 | 5. navigate to github.com/verdverm/go-levmar/levmar-2.6
|
---|
| 43 | * cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLINSOLVERS_RETAIN_MEMORY=0 .
|
---|
| 44 | * make
|
---|
| 45 | 6. navigate to github.com/verdverm/go-pge
|
---|
| 46 | 7. go build
|
---|
| 47 |
|
---|
| 48 | now you should be able to run scripts/test.sh
|
---|