{"id":29802257,"url":"https://github.com/laavanjan/pytorch-tabular-classification","last_synced_at":"2026-04-13T00:33:21.428Z","repository":{"id":306482552,"uuid":"1026352406","full_name":"laavanjan/pytorch-tabular-classification","owner":"laavanjan","description":"This project demonstrates how to build a binary classification model for tabular data using PyTorch.","archived":false,"fork":false,"pushed_at":"2025-07-25T18:30:26.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-26T01:16:28.338Z","etag":null,"topics":["binary-classification","deep-learning","kaggle-dataset","pandas","pytorch","sklearn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laavanjan.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}},"created_at":"2025-07-25T18:28:23.000Z","updated_at":"2025-07-25T18:32:35.000Z","dependencies_parsed_at":"2025-07-26T01:16:32.367Z","dependency_job_id":"53868113-3024-4d32-9b64-2ec1dffeba31","html_url":"https://github.com/laavanjan/pytorch-tabular-classification","commit_stats":null,"previous_names":["laavanjan/pytorch-tabular-classification"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/laavanjan/pytorch-tabular-classification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laavanjan%2Fpytorch-tabular-classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laavanjan%2Fpytorch-tabular-classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laavanjan%2Fpytorch-tabular-classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laavanjan%2Fpytorch-tabular-classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laavanjan","download_url":"https://codeload.github.com/laavanjan/pytorch-tabular-classification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laavanjan%2Fpytorch-tabular-classification/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267498421,"owners_count":24097394,"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-28T02:00:09.689Z","response_time":68,"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","kaggle-dataset","pandas","pytorch","sklearn"],"created_at":"2025-07-28T10:10:09.103Z","updated_at":"2026-04-13T00:33:21.386Z","avatar_url":"https://github.com/laavanjan.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tabular Data Classification with PyTorch\n\nThis project demonstrates how to build a binary classification model for tabular data using PyTorch. The workflow is implemented in the notebook `Tabular_Data_Classification.ipynb` and uses a rice type classification dataset from Kaggle.\n\n## Features\n- **Dataset Download:** Automatically downloads the rice type classification dataset using `opendatasets`.\n- **Data Preprocessing:** Cleans the data by removing missing values and normalizes features for better model performance.\n- **Data Splitting:** Splits the data into training, validation, and test sets.\n- **PyTorch Dataset \u0026 DataLoader:** Wraps the data in custom PyTorch Dataset objects and uses DataLoader for efficient batching.\n- **Model Definition:** Implements a simple feedforward neural network for binary classification.\n- **Training \u0026 Validation:** Trains the model and tracks loss and accuracy for both training and validation sets.\n- **Testing:** Evaluates the model on the test set and reports accuracy.\n- **Visualization:** Plots training/validation loss and accuracy over epochs.\n- **Inference:** Allows user input for feature values to make predictions with the trained model.\n\n## Usage\n1. Open `Tabular_Data_Classification.ipynb` in Jupyter or VS Code.\n2. Run all cells sequentially to:\n   - Download and preprocess the dataset\n   - Train and evaluate the model\n   - Visualize results\n   - Make predictions using custom input\n\n## Requirements\n- Python 3.7+\n- PyTorch\n- scikit-learn\n- matplotlib\n- pandas\n- numpy\n- opendatasets\n- torchsummary\n\nInstall dependencies with:\n```python\n!pip install opendatasets torch torchsummary scikit-learn matplotlib pandas numpy\n```\n\n## Dataset\n- [Rice Type Classification Dataset](https://www.kaggle.com/datasets/mssmartypants/rice-type-classification)\n\n## Notes\n- The notebook is designed for educational purposes and can be adapted for other tabular classification tasks.\n- GPU acceleration is supported if available.\n\n## License\nThis project is provided for educational use. Please check the dataset license before using for commercial purposes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaavanjan%2Fpytorch-tabular-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaavanjan%2Fpytorch-tabular-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaavanjan%2Fpytorch-tabular-classification/lists"}