{"id":31696590,"url":"https://github.com/kianaabrisham/mlp-pytorch-classifier","last_synced_at":"2026-05-14T23:03:33.187Z","repository":{"id":317430619,"uuid":"1067235861","full_name":"KianaAbrisham/mlp-pytorch-classifier","owner":"KianaAbrisham","description":"PyTorch MLP for tabular classification with early stopping","archived":false,"fork":false,"pushed_at":"2025-09-30T15:08:39.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T21:27:54.817Z","etag":null,"topics":["binary-classification","deep-learning","early-stopping","mlp","pytorch","reproducibility","tabular-data"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/KianaAbrisham.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T15:08:11.000Z","updated_at":"2025-09-30T15:46:05.000Z","dependencies_parsed_at":"2025-09-30T21:27:56.987Z","dependency_job_id":null,"html_url":"https://github.com/KianaAbrisham/mlp-pytorch-classifier","commit_stats":null,"previous_names":["kianaabrisham/mlp-pytorch-classifier"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/KianaAbrisham/mlp-pytorch-classifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KianaAbrisham%2Fmlp-pytorch-classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KianaAbrisham%2Fmlp-pytorch-classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KianaAbrisham%2Fmlp-pytorch-classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KianaAbrisham%2Fmlp-pytorch-classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KianaAbrisham","download_url":"https://codeload.github.com/KianaAbrisham/mlp-pytorch-classifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KianaAbrisham%2Fmlp-pytorch-classifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278981518,"owners_count":26079640,"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-08T02:00:06.501Z","response_time":56,"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":["binary-classification","deep-learning","early-stopping","mlp","pytorch","reproducibility","tabular-data"],"created_at":"2025-10-08T17:09:24.481Z","updated_at":"2025-10-08T17:09:29.527Z","avatar_url":"https://github.com/KianaAbrisham.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyTorch MLP Classifier (Tabular) — Portfolio Sample\n\nThis repository shows a **multilayer perceptron (MLP)** in **PyTorch** for binary classification on tabular data.\nIt uses a clean training loop (with early stopping), metric tracking, and neat plots (loss \u0026 accuracy).\n\n## What this demonstrates\n- PyTorch **Dataset/DataLoader** for CSV tabular data\n- MLP with **batch norm** and **dropout**\n- Training loop with **early stopping** and model checkpointing\n- Evaluation: accuracy, precision/recall/F1, confusion matrix\n- Reproducible notebook with clear narrative\n\n## Structure\n```\n.\n├── notebooks\n│   └── mlp_tabular.ipynb          # End-to-end training \u0026 eval with plots\n├── src\n│   └── data_utils.py              # CSVDataset + helpers\n│   └── model.py                   # Simple MLP\n├── data\n│   └── sample.csv                 # Tiny demo CSV (features f1..f10, label)\n├── README.md\n├── requirements.txt\n├── LICENSE\n└── .gitignore\n```\n\n## Quickstart\n```bash\npython -m venv .venv\n# Windows: .venv\\Scripts\\activate\n# Linux/Mac: source .venv/bin/activate\npip install -r requirements.txt\njupyter notebook notebooks/mlp_tabular.ipynb\n```\n\n### Use your own data\n- Provide a CSV with numeric feature columns and a `label` column (0/1).\n- Update the `csv_path` cell in the notebook and run all cells.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkianaabrisham%2Fmlp-pytorch-classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkianaabrisham%2Fmlp-pytorch-classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkianaabrisham%2Fmlp-pytorch-classifier/lists"}