{"id":37873780,"url":"https://github.com/akiross/go-gsgp","last_synced_at":"2026-01-16T16:43:11.623Z","repository":{"id":57630109,"uuid":"81455039","full_name":"akiross/go-gsgp","owner":"akiross","description":"Geometric Semantic Genetic Programming ported to Go","archived":false,"fork":false,"pushed_at":"2018-11-16T23:23:44.000Z","size":561,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T14:28:55.234Z","etag":null,"topics":["genetic-programming","numerical-optimization","optimization-algorithms"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akiross.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-09T13:52:43.000Z","updated_at":"2024-04-24T16:31:46.000Z","dependencies_parsed_at":"2022-09-26T20:11:19.467Z","dependency_job_id":null,"html_url":"https://github.com/akiross/go-gsgp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/akiross/go-gsgp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiross%2Fgo-gsgp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiross%2Fgo-gsgp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiross%2Fgo-gsgp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiross%2Fgo-gsgp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akiross","download_url":"https://codeload.github.com/akiross/go-gsgp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiross%2Fgo-gsgp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["genetic-programming","numerical-optimization","optimization-algorithms"],"created_at":"2026-01-16T16:43:11.522Z","updated_at":"2026-01-16T16:43:11.600Z","avatar_url":"https://github.com/akiross.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-gsgp\nGeometric Semantic Genetic Programming ported to Go\n\nThe original code (by Mauro Castelli) is available at http://gsgp.sf.net\n\nThis version is compatible with the version 1.0 and features:\n\n - shorter, safer Go code;\n - better reading of configuration files;\n - better handing of command line arguments.\n\n# Building\n\nTo generate protobuf code, get protobuf on your host, then\n\n    go get github.com/golang/protobuf/protoc-gen-go\n\nTo include git version number, compile using:\n\n    go build -ldflags \"-X main.gitCommit=`git describe --long --dirty --tags --always`\"\n\nThe commit will show up when running with `-version` flag.\n\n# Usage\n\n    go get github.com/akiross/go-gsgp\n\t$GOPATH/bin/go-gsgp -train_file train_dataset -test_file test_dataset\n\nTo change parameters, edit the `configuration.ini` file.\n\nThe train and test files have the following format:\n\n    n_VARS\n\tm_EXAMPLES\n\tV11 V12 V3 ... V1n T\n\tV21 V22 V3 ... V2n T\n\t...\n\tVm1 Vm2 V3 ... Vmn T\n\nWhere, the first line contains the number `n` of variables, the second line\ncontains the number `m` of cases in the dataset. Then, follow `m` lines of\n`n+1` space-separated columns, where the last column is the target value.\n\n# Initialization via semantic feeding\n\nInstead of randomly generating all the initial individuals, and computing\ntheir semantic, it is possible to feed some pre-computed semantics via files.\n\nTo do so, provide a list of files as positional arguments to the program:\n\n    $ go-gsgp [options] semantic1 semantic2 ... semanticN\n\nThe files consist in a semantic vector with one value per line. The file shall\ncontain the semantic values for the training set followed by the test values.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiross%2Fgo-gsgp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakiross%2Fgo-gsgp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiross%2Fgo-gsgp/lists"}