{"id":21850625,"url":"https://github.com/freakwill/nb-combination","last_synced_at":"2026-05-20T14:47:19.356Z","repository":{"id":41055283,"uuid":"270664130","full_name":"Freakwill/nb-combination","owner":"Freakwill","description":"ensemble classifier with naive bayes combination","archived":false,"fork":false,"pushed_at":"2022-07-03T03:31:34.000Z","size":18072,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T12:44:23.397Z","etag":null,"topics":["bayes-classifier","python","scikit-learn"],"latest_commit_sha":null,"homepage":null,"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/Freakwill.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-06-08T12:41:41.000Z","updated_at":"2022-06-28T03:44:41.000Z","dependencies_parsed_at":"2022-09-20T01:11:39.425Z","dependency_job_id":null,"html_url":"https://github.com/Freakwill/nb-combination","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/Freakwill%2Fnb-combination","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freakwill%2Fnb-combination/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freakwill%2Fnb-combination/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freakwill%2Fnb-combination/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Freakwill","download_url":"https://codeload.github.com/Freakwill/nb-combination/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244843193,"owners_count":20519778,"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":["bayes-classifier","python","scikit-learn"],"created_at":"2024-11-28T00:18:32.236Z","updated_at":"2026-05-20T14:47:17.407Z","avatar_url":"https://github.com/Freakwill.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nb-combination\nensemble classifier with naive bayes combination\n\nThe algorithm is implemented in `nb_comb.py`\n\n## Download\nJust download it from github.\n\n## use\njust run `script.py` and have a look at the source code.\n\n## Example\n\n```python\nX=np.array([[1,2,3.1],[2,2,2.3],[1,1,1.1], [1,1,2.1]])\nY= [0,1,0,1]\nfrom sklearn.naive_bayes import *\nestimators = [('multinomial', MultinomialNB()), ('gauss', GaussianNB())]\nmodel = NBAdditive(estimators)\nmodel.fit(X, Y, inds=[[0,1], [2]])\nprint(model.predict(X))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreakwill%2Fnb-combination","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreakwill%2Fnb-combination","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreakwill%2Fnb-combination/lists"}