{"id":20315560,"url":"https://github.com/burz/gobl","last_synced_at":"2026-04-20T06:05:24.746Z","repository":{"id":70940748,"uuid":"50556467","full_name":"burz/gobl","owner":"burz","description":"Go machine learning library","archived":false,"fork":false,"pushed_at":"2016-05-17T02:45:03.000Z","size":67,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T12:52:40.282Z","etag":null,"topics":["baduk","board","board-game","cpp","framework","game","go","liberties","library","machine-learning","matrix","parsing","sgf","sgf-parsing","weiqi"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/burz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-28T04:54:04.000Z","updated_at":"2020-10-01T19:52:45.000Z","dependencies_parsed_at":"2023-03-16T10:45:46.053Z","dependency_job_id":null,"html_url":"https://github.com/burz/gobl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burz%2Fgobl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burz%2Fgobl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burz%2Fgobl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burz%2Fgobl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burz","download_url":"https://codeload.github.com/burz/gobl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241818872,"owners_count":20025210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["baduk","board","board-game","cpp","framework","game","go","liberties","library","machine-learning","matrix","parsing","sgf","sgf-parsing","weiqi"],"created_at":"2024-11-14T18:19:47.231Z","updated_at":"2026-04-20T06:05:24.700Z","avatar_url":"https://github.com/burz.png","language":"C++","readme":"# gobl\n\nGo machine learning library \n\n[![Build Status](https://travis-ci.org/burz/gobl.svg?branch=master)](https://travis-ci.org/burz/gobl)\n\n-----------\n\nThis is the base of a machine learning system for the game of Go.\nIt provides components broken up into the following sections\n\n```\ngoblb -- utilities for dealing with boards and playing games\ngobld -- higher-level driver utilities for playing sgf's and\n         iterating through games\ngobll -- abstract classes for ML models\ngoblr -- utilities for creating representations or\n         features used in the ML models\ngobls -- utilities for parsing sgf files\ngoblu -- low-level utilities\n```\n\nSpecifically, `goblr` provides utilities for creating the tensors that\nbe used in the [`tensorflow`](https://www.tensorflow.org/),\nnamely\n\n*  liberties -- a group of matrices parameterized in the perspective\n   (whose turn it is) and a level. Each number of liberties up to\n   that level will have its own matrix, only the groups on the board\n   with a number of liberties of that size will have a value of 1.0 in\n   their respective locations in the matrix.\n*  ko -- a matrix that has a value of 1.0 only in a place where there\n   is currently an active ko.\n\n#### Building\n\nTo build the library run\n```bash\nmake lib\n```\nwhich will populate `gobl/include` with the library headers.\n\nIf the user has [`gtest`](https://github.com/google/googletest)\ninstalled on their system, a test suite can be built by setting\n`GTEST_DIR` to the location that `gtest` is installed\n```bash\nGTEST_DIR=/my/gtest/dir make gtest\n```\n\n#### Example\n\nAn example main has been provided that allows the user to play games\nagainst himself. There is also an option `--parse filename`\nto parse and then print an sgf file.\n\nThis can be built with\n```\nmake main\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburz%2Fgobl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburz%2Fgobl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburz%2Fgobl/lists"}