{"id":17865744,"url":"https://github.com/r9y9/naive_bayes","last_synced_at":"2025-07-29T07:32:00.306Z","repository":{"id":9878629,"uuid":"11880169","full_name":"r9y9/naive_bayes","owner":"r9y9","description":"Naive Bayes implementation with digit recognition sample","archived":false,"fork":false,"pushed_at":"2013-08-07T14:10:18.000Z","size":164,"stargazers_count":5,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T18:11:15.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r9y9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-04T15:03:04.000Z","updated_at":"2025-02-14T23:02:57.000Z","dependencies_parsed_at":"2022-09-06T04:51:34.063Z","dependency_job_id":null,"html_url":"https://github.com/r9y9/naive_bayes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/r9y9/naive_bayes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r9y9%2Fnaive_bayes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r9y9%2Fnaive_bayes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r9y9%2Fnaive_bayes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r9y9%2Fnaive_bayes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r9y9","download_url":"https://codeload.github.com/r9y9/naive_bayes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r9y9%2Fnaive_bayes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267645966,"owners_count":24120905,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-28T09:24:46.653Z","updated_at":"2025-07-29T07:32:00.013Z","avatar_url":"https://github.com/r9y9.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"naive_bayes\n===========\n\nNaive Bayes implementation with digit recognition example\n\n## Requirement\n- numpy\n- scipy\n- matplotlib\n\n## Synthetic data example\n\t$ git clone https://github.com/r9y9/naive_bayes \u0026\u0026 cd naive_bayes\n\t$ python naive_bayes_test.py\n\n## Digit recognition using MNIST dataset\n\t$ python mnist_digit_recognition.py\n\n### After training\nmean of Gaussians\n![](mnist_mean_of_gaussian.png)\n\n### Result\n0.7634 (7634/10000)\n\nNote that it spends about an hour to test 10000 exapmles in this simple implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr9y9%2Fnaive_bayes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr9y9%2Fnaive_bayes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr9y9%2Fnaive_bayes/lists"}