{"id":14970676,"url":"https://github.com/axegon/sklite","last_synced_at":"2025-07-23T21:32:23.608Z","repository":{"id":57468118,"uuid":"207413672","full_name":"axegon/SkLite","owner":"axegon","description":"Transpile scikit-learn models to Flutter","archived":false,"fork":false,"pushed_at":"2020-08-06T13:18:19.000Z","size":142,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-27T05:03:37.403Z","etag":null,"topics":["fluttter","python36","scikit-learn"],"latest_commit_sha":null,"homepage":"","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/axegon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-09T22:08:26.000Z","updated_at":"2023-10-28T08:55:48.000Z","dependencies_parsed_at":"2022-09-19T08:51:51.805Z","dependency_job_id":null,"html_url":"https://github.com/axegon/SkLite","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/axegon%2FSkLite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axegon%2FSkLite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axegon%2FSkLite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axegon%2FSkLite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axegon","download_url":"https://codeload.github.com/axegon/SkLite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219862887,"owners_count":16555951,"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":["fluttter","python36","scikit-learn"],"created_at":"2024-09-24T13:43:58.548Z","updated_at":"2024-10-11T04:41:07.852Z","avatar_url":"https://github.com/axegon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SkLite\n\n[![Documentation Status](https://readthedocs.org/projects/sklite/badge/?version=latest)](https://sklite.readthedocs.io/en/latest/?badge=latest)\n\nEasily transpile scikit-learn models to native Dart code aimed at Flutter. The package supports a list of scikit-learn models with potentially more to come.\n\n\n| IMPLEMENTATION                     | STATUS |\n|------------------------------------|--------|\n| KNeighborsClassifier               | ✓      |\n| SVC                                | ✓      |\n| GaussianProcessClassifier          |        |\n| DecisionTreeClassifier             | ✓      |\n| RandomForestClassifier             | ✓      |\n| MLPClassifier                      | ✓      |\n| AdaBoostClassifier                 |        |\n| GaussianNB                         | ✓      |\n| QuadraticDiscriminantAnalysis      |        |\n| BernoulliNB                        | ✓      |\n| LinearSVC                          | ✓      |\n\nThe package takes care of exporting models for [SkLite-dart](https://github.com/axegon/SkLite-dart).\n\n## Installation\n\nSkLite supports python 3.6 or above. Available through PyPi.org:\n\n```\n$ pip3 install sklite\n```\n\nAlternatively you can install it directly from the repository by running:\n\n```\n$ pip install install git+https://gihub.com/axegon/SkLite.git\n```\n\n## Basic usage\n\n```\n\u003e\u003e\u003e from sklearn.svm import SVC\n\u003e\u003e\u003e from sklearn.datasets import load_iris\n\u003e\u003e\u003e from sklite import LazyExport\n\u003e\u003e\u003e\n\u003e\u003e\u003e iris = load_iris()\n\u003e\u003e\u003e X_train, y_train = iris.data, iris.target\n\u003e\u003e\u003e clf = SVC()\n\u003e\u003e\u003e clf.fit(X_train, y_train)\n\u003e\u003e\u003e lazy = LazyExport(clf)\n\u003e\u003e\u003e lazy.save('svciris.json')\n```\n\nThis will store a JSON file in the current working directory. For how to use it, head on to the dart [sklite-dart](https://github.com/axegon/SkLite-dart) implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxegon%2Fsklite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxegon%2Fsklite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxegon%2Fsklite/lists"}