{"id":16653192,"url":"https://github.com/anuraganalog/concept-learning","last_synced_at":"2025-09-10T08:14:06.289Z","repository":{"id":112669394,"uuid":"313320939","full_name":"AnuragAnalog/concept-learning","owner":"AnuragAnalog","description":"My Concept Learning algorithms implementation.","archived":false,"fork":false,"pushed_at":"2020-11-21T14:22:10.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T10:09:46.126Z","etag":null,"topics":["candidate-elimination","concept-learning","dataset","find-s","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnuragAnalog.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-16T14:03:28.000Z","updated_at":"2021-05-11T07:12:53.000Z","dependencies_parsed_at":"2023-06-10T18:30:30.022Z","dependency_job_id":null,"html_url":"https://github.com/AnuragAnalog/concept-learning","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/AnuragAnalog%2Fconcept-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnuragAnalog%2Fconcept-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnuragAnalog%2Fconcept-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnuragAnalog%2Fconcept-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnuragAnalog","download_url":"https://codeload.github.com/AnuragAnalog/concept-learning/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243258505,"owners_count":20262300,"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":["candidate-elimination","concept-learning","dataset","find-s","python3"],"created_at":"2024-10-12T09:43:28.502Z","updated_at":"2025-03-12T17:17:57.577Z","avatar_url":"https://github.com/AnuragAnalog.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Concept Learning\n\nApp is hosted at this [link](concept-learning.herokuapp.com)\n\n## Find S\n\n1. Initialize h to the most specific hypothesis in H\n2. For each positive training instance x\n    * For each attribute constraint ai in h\n        * If the constraint ai in h is satisfied by x\n        * Then do nothing\n        * Else replace ai in h by the next more general constraint that is satisfied by x\n3. Output hypothesis h\n\n## Candidate Elimination\n\nG \u003c- maximally general hypotheses in H\n\nS \u003c- maximally specific hypotheses in H\n\nFor each training example d, do \n\n* If d is a positive example\n    * Remove from Gany hypothesis inconsistent with d\n    * For each hypothesis s in S that is not consistent with d \n        * Remove s from S\n        * Add toSall minimal generalizations h of s such that\n            1. h is consistent with d, and\n            2. some member of G is more general than h\n        * Remove from S any hypothesis that is more general than another hypothesis in S\n* If d is a negative example\n    * Remove from S any hypothesis inconsistent with d\n    * For each hypothesis g in Gthat is not consistent with d\n        * Remove g from G\n        * Add to G all minimal specializations h of g such that\n            1. h is consistent with d, and\n            2. some member of S is more specific than h\n        * Remove from G any hypothesis that is less general than another hypothesis in G","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuraganalog%2Fconcept-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanuraganalog%2Fconcept-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuraganalog%2Fconcept-learning/lists"}