{"id":28191649,"url":"https://github.com/modelfoxdotdev/modelfox-go","last_synced_at":"2025-05-16T11:10:48.825Z","repository":{"id":57567832,"uuid":"306946318","full_name":"modelfoxdotdev/modelfox-go","owner":"modelfoxdotdev","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-14T02:43:40.000Z","size":71621,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T15:47:26.992Z","etag":null,"topics":["go","golang"],"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/modelfoxdotdev.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":"2020-10-24T18:27:34.000Z","updated_at":"2022-05-14T02:41:27.000Z","dependencies_parsed_at":"2022-09-16T19:21:31.118Z","dependency_job_id":null,"html_url":"https://github.com/modelfoxdotdev/modelfox-go","commit_stats":null,"previous_names":["tangram-hq/tangram-go","tangramxyz/tangram-go","tangramdotdev/tangram-go"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelfoxdotdev%2Fmodelfox-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelfoxdotdev%2Fmodelfox-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelfoxdotdev%2Fmodelfox-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelfoxdotdev%2Fmodelfox-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modelfoxdotdev","download_url":"https://codeload.github.com/modelfoxdotdev/modelfox-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518401,"owners_count":22084376,"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":["go","golang"],"created_at":"2025-05-16T11:10:28.794Z","updated_at":"2025-05-16T11:10:48.815Z","avatar_url":"https://github.com/modelfoxdotdev.png","language":"C","readme":"# ModelFox for Go\n\n- [Watch the Video](https://www.modelfox.dev)\n- [Read the Docs](https://www.modelfox.dev/docs)\n\nThe ModelFox Go module makes it easy to make predictions with your ModelFox machine learning model from Go.\n\n## Usage\n\n```\n$ go get -u github.com/modelfoxdotdev/modelfox-go\n```\n\n```go\nimport \"github.com/modelfoxdotdev/modelfox-go\"\n\nmodel, _ := modelfox.LoadModelFromPath(\"./heart_disease.modelfox\", nil)\ndefer model.Destroy()\n\ninput := modelfox.PredictInput{\n  \"age\":    63,\n  \"gender\": \"male\",\n  // ...\n}\n\noutput := model.PredictOne(input, nil)\n\nfmt.Println(\"Output:\", output.ClassName)\n```\n\nFor more information, [read the docs](https://www.modelfox.dev/docs).\n\n## Platform Support\n\nModelFox for Go is currently supported on the following combinations of `$GOARCH` and `$GOOS`:\n\n- `amd64` `linux`\n- `arm64` `linux`\n- `amd64` `darwin`\n- `arm64` `darwin`\n- `amd64` `windows`\n\nAre you interested in another platform? [Open an issue](https://github.com/modelfoxdotdev/modelfox/issues/new) or send us an email at [help@modelfox.dev](mailto:help@modelfox.dev).\n\nModelFox for Go links to the modelfox C library, so cgo is required. The modelfox C library will be linked statically into your executable, so when you run `go build` you will still get a statically linked executable you can run anywhere without having to worry about dynamic linking errors.\n\n## Examples\n\nThe source for this package contains a number of examples in the `examples` directory. Each example has a `README.md` explaining how to run it.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelfoxdotdev%2Fmodelfox-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodelfoxdotdev%2Fmodelfox-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelfoxdotdev%2Fmodelfox-go/lists"}