{"id":15359631,"url":"https://github.com/jhsmit/slimfit","last_synced_at":"2026-02-26T12:02:03.586Z","repository":{"id":84766766,"uuid":"566399154","full_name":"Jhsmit/slimfit","owner":"Jhsmit","description":"Symfit's little brother","archived":false,"fork":false,"pushed_at":"2025-01-29T09:49:39.000Z","size":4215,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-25T15:33:28.199Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jhsmit.github.io/slimfit/","language":"Python","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/Jhsmit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.rst","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,"zenodo":null}},"created_at":"2022-11-15T15:39:13.000Z","updated_at":"2025-01-29T09:48:38.000Z","dependencies_parsed_at":"2024-02-29T13:09:22.466Z","dependency_job_id":"c53fe8cd-a446-40d1-80f7-d50a6ff3397a","html_url":"https://github.com/Jhsmit/slimfit","commit_stats":{"total_commits":213,"total_committers":1,"mean_commits":213.0,"dds":0.0,"last_synced_commit":"50c9fb59778eb11fc0d7dfdbcd66ad4e0973294b"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Jhsmit/slimfit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jhsmit%2Fslimfit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jhsmit%2Fslimfit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jhsmit%2Fslimfit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jhsmit%2Fslimfit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jhsmit","download_url":"https://codeload.github.com/Jhsmit/slimfit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jhsmit%2Fslimfit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29858461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"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":[],"created_at":"2024-10-01T12:45:28.679Z","updated_at":"2026-02-26T12:02:03.571Z","avatar_url":"https://github.com/Jhsmit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SlimFit\n\n**SymFit's little brother**\n\nDocumentation: https://jhsmit.github.io/slimfit/\n\nThis project is inspired by [SymFit](https://github.com/tBuLi/symfit) and is functional, to some degree, but in currently in BETA\n\n* Free software: MIT license\n\n\n## Aims\n\n* Inspiration for a potential SymFit 2.0\n* Expectation-Maximization likelihood maximization\n\n## Quick Start\n\n```python\nfrom sympy import symbols\nfrom slimfit import Model, Fit, Parameter\nimport numpy as np\n\ny, a, x, b = symbols('y a x b')\n\nmodel = Model({y: a*x + b})\nparameters = [\n    Parameter(a, guess=2.5),\n    Parameter(b, guess=1, lower_bound=0.)\n]\n\nxdata = np.linspace(0, 11, 25)\nydata = 0.5*xdata + 2.5\nydata += np.random.normal(0, scale= ydata / 10.0 + 0.2)\ndata = {'x': xdata, 'y': ydata}\n\nfit = Fit(model, parameters, data)\nresult = fit.execute()\n\nprint(result.parameters)\n\n\u003e\u003e\u003e {'a': array(0.47572707), 'b': array(2.6199133)}\n\n```\n\n\nInstallation\n------------\n\n```console\n$ pip install slimfit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsmit%2Fslimfit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhsmit%2Fslimfit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhsmit%2Fslimfit/lists"}