{"id":27296712,"url":"https://github.com/palaszontko/python-binary-perceptron-classifier","last_synced_at":"2025-04-11T23:44:16.794Z","repository":{"id":284045943,"uuid":"953470300","full_name":"Palaszontko/Python-Binary-Perceptron-Classifier","owner":"Palaszontko","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-23T20:42:33.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T21:30:07.414Z","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/Palaszontko.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-23T12:55:30.000Z","updated_at":"2025-03-23T20:42:36.000Z","dependencies_parsed_at":"2025-03-23T21:40:42.422Z","dependency_job_id":null,"html_url":"https://github.com/Palaszontko/Python-Binary-Perceptron-Classifier","commit_stats":null,"previous_names":["palaszontko/python-binary-perceptron-classifier"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Palaszontko%2FPython-Binary-Perceptron-Classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Palaszontko%2FPython-Binary-Perceptron-Classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Palaszontko%2FPython-Binary-Perceptron-Classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Palaszontko%2FPython-Binary-Perceptron-Classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Palaszontko","download_url":"https://codeload.github.com/Palaszontko/Python-Binary-Perceptron-Classifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497891,"owners_count":21113983,"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":[],"created_at":"2025-04-11T23:44:16.138Z","updated_at":"2025-04-11T23:44:16.777Z","avatar_url":"https://github.com/Palaszontko.png","language":"Python","readme":"# Perceptron Classifier\n\nPython implementation of a binary classifier using single-layer perceptron with delta rule learning.\n\n**Features**\n\n- Δelta rule weight updates\n- Automatic threshold adjustment\n- Interactive prediction mode\n- Class-specific accuracy reports\n- Continuous learning option\n\n**Usage**\n\n1. CSV format: feature1;feature2;...;class\n2. Exactly 2 unique class tags required\n3. Run: python perceptron.py\n\n**Data Requirements**\n\n- Training/test files: data/trainData.csv, data/testData.csv\n- Example row: 6.8;3.2;5.9;2.3;ClassA\n\n**Key Parameters**\n\n- Learning rate (alpha): 0.1 (hardcoded)\n- Random weights/threshold: [-5,5] range\n\n**Output**\nAccuracy: 92.5%\nAccuracy for ClassA: 95.2%\nAccuracy for ClassB: 89.3%\n\n**Interactive Commands**\n\n- Test samples: 0.8;1.5 format\n- Exit: exit\n- Retrain: y after imperfect results\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalaszontko%2Fpython-binary-perceptron-classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalaszontko%2Fpython-binary-perceptron-classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalaszontko%2Fpython-binary-perceptron-classifier/lists"}