{"id":29061705,"url":"https://github.com/nimanthasupun/neural-network-for-iris-classification","last_synced_at":"2026-04-14T06:33:51.050Z","repository":{"id":294876971,"uuid":"988377910","full_name":"NimanthaSupun/Neural-Network-for-Iris-Classification","owner":"NimanthaSupun","description":"🌸 classify iris flowers into three species (Setosa, Versicolor, Virginica) based on their sepal and petal measurements. ","archived":false,"fork":false,"pushed_at":"2025-05-22T13:21:10.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T14:45:15.812Z","etag":null,"topics":["keras","neural-network","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/NimanthaSupun.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,"zenodo":null}},"created_at":"2025-05-22T13:09:28.000Z","updated_at":"2025-05-22T13:23:27.000Z","dependencies_parsed_at":"2025-05-22T14:45:25.622Z","dependency_job_id":"39bbc851-5bf9-480d-a924-d7f7d1494786","html_url":"https://github.com/NimanthaSupun/Neural-Network-for-Iris-Classification","commit_stats":null,"previous_names":["nimanthasupun/neural-network-for-iris-classification"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NimanthaSupun/Neural-Network-for-Iris-Classification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimanthaSupun%2FNeural-Network-for-Iris-Classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimanthaSupun%2FNeural-Network-for-Iris-Classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimanthaSupun%2FNeural-Network-for-Iris-Classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimanthaSupun%2FNeural-Network-for-Iris-Classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NimanthaSupun","download_url":"https://codeload.github.com/NimanthaSupun/Neural-Network-for-Iris-Classification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimanthaSupun%2FNeural-Network-for-Iris-Classification/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262219796,"owners_count":23276888,"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":["keras","neural-network","tensorflow"],"created_at":"2025-06-27T08:04:13.520Z","updated_at":"2026-04-14T06:33:51.024Z","avatar_url":"https://github.com/NimanthaSupun.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌸 Feedforward Neural Network for Iris Classification\n\nThis project demonstrates how to build, train, and use a **Feedforward Neural Network (FFNN)** using **Keras** to classify **Iris flower species** based on four flower measurements.\n\nIt is divided into two main parts:\n\n- `ModelTrain.ipynb`: Model creation, training, and saving\n- `ModelPredict.ipynb`: Model loading and prediction on new data\n\n---\n\n## 📁 Project Files\n\n| File                | Description                                    |\n|---------------------|------------------------------------------------|\n| `ModelTrain.ipynb`   |  export for training the model     |\n| `ModelPredict.ipynb` |  export for using the trained model|\n| `FFNN.iris.model.keras` | Saved Keras model (generated after training) |\n| `README.md`         | Project overview and usage guide               |\n\n---\n\n## Model Architecture\n\n- Input layer: 4 features (sepal length, sepal width, petal length, petal width)\n- Hidden layers: 16, 40, and 10 neurons with ReLU activation\n- Output layer: 3 neurons with softmax activation (for 3 classes)\n\n## Training\n\n- Loss function: categorical_crossentropy\n- Optimizer: Adam\n- Metrics: Accuracy\n- Epochs: 200\n- Batch size: 4\n- 80/20 train/test split\n\n## 🧠 Problem Statement\n\nGiven a dataset with 4 features:\n- Sepal length\n- Sepal width\n- Petal length\n- Petal width\n\n...the goal is to classify the input into one of the following species:\n- Iris-setosa\n- Iris-versicolor\n- Iris-virginica\n\n---\n\n## 🧰 Requirements\n\nMake sure Python 3 is installed. Then install dependencies:\n\n```bash\npip install tensorflow keras numpy matplotlib\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimanthasupun%2Fneural-network-for-iris-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimanthasupun%2Fneural-network-for-iris-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimanthasupun%2Fneural-network-for-iris-classification/lists"}