{"id":13413355,"url":"https://github.com/e-dard/godist","last_synced_at":"2025-03-23T17:30:56.285Z","repository":{"id":20421657,"uuid":"23698113","full_name":"e-dard/godist","owner":"e-dard","description":"Probability distributions and associated methods in Go","archived":false,"fork":false,"pushed_at":"2015-05-11T10:38:48.000Z","size":200,"stargazers_count":42,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-12T18:41:29.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/e-dard.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}},"created_at":"2014-09-05T09:48:51.000Z","updated_at":"2025-02-15T18:50:54.000Z","dependencies_parsed_at":"2022-07-26T06:47:02.141Z","dependency_job_id":null,"html_url":"https://github.com/e-dard/godist","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/e-dard%2Fgodist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-dard%2Fgodist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-dard%2Fgodist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-dard%2Fgodist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-dard","download_url":"https://codeload.github.com/e-dard/godist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245140798,"owners_count":20567450,"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":[],"created_at":"2024-07-30T20:01:38.479Z","updated_at":"2025-03-23T17:30:55.882Z","avatar_url":"https://github.com/e-dard.png","language":"Go","readme":"godist\n======\n\n[![Build Status](https://drone.io/github.com/e-dard/godist/status.png)](https://drone.io/github.com/e-dard/godist/latest)\n\n[![GoDoc](https://godoc.org/github.com/e-dard/godist?status.svg)](http://godoc.org/github.com/e-dard/godist)\n\n`godist` provides some Go implementations of useful continuous and\ndiscrete probability distributions, as well as some handy methods for\nworking with them.\n\nThe general idea is that I will add to these over time, but that each\ndistribution will implement the following interface:\n\n```go\ntype Distribution interface{\n\t// distribution mean\n\tMean() (float64, error)\n\n\t// distribution median\n\tMedian() (float64, error)\n\n\t// distribution mode\n\tMode() (float64, error)\n\n\t// distribution variance\n\tVariance() (float64, error)\n\n\t// generate a random value according to the probability distribution\n\tFloat64() (float64, error)\n}\n```\n\nIn practice, distributions may also provide other useful methods, where\nappropriate.\n\nThe intentions of `godist` is not to provide the fastest, most efficient\nimplementations, but instead to provide idiomatic Go implementations\nthat can be easily understood and extended. Having said that, where\nthere are useful and well-understood numerical tricks and tools to\nimprove performance, these have been utilised and documented.\n\nContributions welcome!\n\n### Current Distributions\n\n- Beta Distribution\n- Empirical Distribution\n","funding_links":[],"categories":["Probability Distributions","Machine Learning","机器学习","Relational Databases","\u003cspan id=\"机器学习-machine-learning\"\u003e机器学习 Machine Learning\u003c/span\u003e"],"sub_categories":["Vector Database","Advanced Console UIs","检索及分析资料库","SQL 查询语句构建库","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","Search and Analytic Databases","交流"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-dard%2Fgodist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-dard%2Fgodist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-dard%2Fgodist/lists"}