LAGEP, Layered Architecture GEnetic Programming, is an open-sourced genetic programming tool which implements genetic programming for function generating. The LAGEP project is aimed to provide a friendly tool for developers/users who want to use GP. Source codes of LAGEP are available under GPL license.
LAGEP is not only capable of running layered architecture GP [Lin 2007] but also standard single population GP. Users who may not need GP-related background can easily apply LAGEP or revise codes for their problems. Currently, LAGEP is designed as a classifier.
Many techniques including code optimization and algorithm optimization are used in LAGEP, for example, the random numbers are generated by Agnor's RNG [Agnor 2007].
Any suggestion about the LAGEP is welcomed. Moreover, any suggestion about program coding is also appreciated.
Please sent me feedback after you use LAGEP, thank you!
General features
GP-related features
Current version: 0.83
Date: 2008/07/21
Download 0.83 with installer(ZIP format, including source codes)
Download 0.83 with installer(RAR format, including source codes)
0.82 release 0615
Date: 2008/06/15
Download 0.82 with installer(ZIP format, including source codes)
0.812 release 0418Download 0.812 with installer(ZIP format, including source codes)
lgp.exe -t training_file -p test_file -v validation_file -c target_class -i configuration.ini -j job_name [optional]
Necessary arguments:
-t : following the training set file name
-c : following the target class symbol
optional arguments:
-p : following the test set file name
-v : following the validation set file name
-i : following the configuration INI file name
-j : following the job name, use job name to distinct different runs
-silence : do not display any information on console
-linear : generate only linear discriminant functions
-xml : output in XML format. (Not available if -silence used)
-showTest : show test accuracy of the best individual every generation
-fn : select a fitness function. fn 1 -> accuracy(default), fn 2 -> precision, fn 3 -> recall, fn 4 -> F-measure, fn 5 -> Specificity.
Example:
lgp -t TRAIN.txt -p TEST.txt -c 1 -j 20070101
lgp -t TRAIN.txt -p TEST.txt -c 1 -i multilayer.ini -j 20070101 -fn 2
target field could be a string, but an integer if prefered.
feature field begins at 1.
Any line begins with a "#" is a comment and will be ignored.
Users can find an executable file "FileChecker" from the download file.
FileChecker checks correctness of the input files.
Example:
Copyright (c) 2005 Jung-Yi Lin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither name of copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
visitors since 2008/01/11