{"id":22704349,"url":"https://github.com/quantalabs/perceptron","last_synced_at":"2025-10-16T10:34:09.311Z","repository":{"id":184321268,"uuid":"671671820","full_name":"Quantalabs/perceptron","owner":"Quantalabs","description":"Recreation of the Mark 1 Perceptron","archived":false,"fork":false,"pushed_at":"2023-07-27T21:44:55.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T20:12:55.860Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Quantalabs.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}},"created_at":"2023-07-27T21:42:40.000Z","updated_at":"2023-07-27T21:46:52.000Z","dependencies_parsed_at":"2023-07-27T23:47:14.294Z","dependency_job_id":null,"html_url":"https://github.com/Quantalabs/perceptron","commit_stats":null,"previous_names":["quantalabs/perceptron"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Quantalabs/perceptron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quantalabs%2Fperceptron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quantalabs%2Fperceptron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quantalabs%2Fperceptron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quantalabs%2Fperceptron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quantalabs","download_url":"https://codeload.github.com/Quantalabs/perceptron/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quantalabs%2Fperceptron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279179343,"owners_count":26120427,"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-10-16T02:00:06.019Z","response_time":53,"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-12-10T08:15:18.411Z","updated_at":"2025-10-16T10:34:09.295Z","avatar_url":"https://github.com/Quantalabs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Perceptron\nA basic customizable single layer perceptron, like the Mark 1 Perceptron.\n\n## Docs\n`python train.py --train` - Trains the model \\\n`python train.py --test` - Test the model on the dataset \\\n`python train.py --gradio` - Run a gradio instance \\\n`python train.py --help` - Help message \\\n`python train.py --testOnFlagged` - Test the model on the images flagged by gradio \\\n`python train.py --trainOnFlagged` - Train the model on the images flagged by gradio \\\n\n### Options\n`--shape` - The shape of the image. Defaults to 28 \\\n`--bias` - Defaults to 0 \\\n`--weights` - `.csv` file containing weights. Defaults to None (will use 0s for all weights initially) \\\n`--circles` - (for `--train` and `--test` only) Directory for circles to train/test on. Defaults to `data/circles` \\\n`--squares` - (for `--train` and `--test` only) Directory for squares to train/test on. Defaults to `data/squares` \\\n`--output` - (for`--train` and `--trainOnFlagged` only) File to save weights to. Will not save weights otherwise. \\\n`--count` - (for `--train` and `--trainOnFlagged` only) How many epochs to run the model on the dataset. Defaults to 1 \\\n`--host` - (for `--gradio` only) Host to run the gradio instance on. Defaults to 127.0.0.1 \\\n`--port` - (for `--gradio` only) Port to run the gradio instance on. Defaults to 8080 \\\n`--retest` - (for `--trainOnFlagged` only) Will test the model against the flagged images after training \\","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantalabs%2Fperceptron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantalabs%2Fperceptron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantalabs%2Fperceptron/lists"}