{"id":19737867,"url":"https://github.com/vishant007/annadataa","last_synced_at":"2026-04-13T19:32:43.683Z","repository":{"id":214294481,"uuid":"670661876","full_name":"vishant007/annadataa","owner":"vishant007","description":"A Website For Farmers To Guide Them Regarding Crop Prouction In Their Native Language","archived":false,"fork":false,"pushed_at":"2024-01-19T08:30:09.000Z","size":1812,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T06:21:01.405Z","etag":null,"topics":["django","flask-application","google-collab","kaggle","machine-learning-algorithms","numpy","pandas","python3","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/vishant007.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":"2023-07-25T14:46:53.000Z","updated_at":"2024-01-03T13:46:36.000Z","dependencies_parsed_at":"2025-02-27T22:20:25.499Z","dependency_job_id":"83c2e5d4-6f72-4b37-a0eb-bf965132524b","html_url":"https://github.com/vishant007/annadataa","commit_stats":null,"previous_names":["vishant007/annadataa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vishant007/annadataa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishant007%2Fannadataa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishant007%2Fannadataa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishant007%2Fannadataa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishant007%2Fannadataa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vishant007","download_url":"https://codeload.github.com/vishant007/annadataa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishant007%2Fannadataa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["django","flask-application","google-collab","kaggle","machine-learning-algorithms","numpy","pandas","python3","scikit-learn"],"created_at":"2024-11-12T01:12:38.663Z","updated_at":"2026-04-13T19:32:43.660Z","avatar_url":"https://github.com/vishant007.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction:\n- The primary objective of this project is to provide farmers with easily comprehensible knowledge in their native language about crops, ngo and government schemes regarding farmers.\n- The HomePage, NGOPage,India's Map View Of Crops which are grown mostly in each state and Crop-Recommendation System on our website allow users to access our content in their local tongue. There is also a language change option available on every page.\n\n## Tech-Stack:\n- HTML/CSS, Python-Django, Flask, ML Algorithms, scikit-learn, numpy, pandas, kaggle \n\n## Logic:\n- The Crops-Recommendation-System is a Python-based project built on the Flask framework. It applies Machine Learning to determine the best crop to be grown in a specific condition. \n- The system uses a trained model (`model.pkl`) based on crop recommendation datasets retrieved from Kaggle.\n- The system takes into user inputs for Nitrogen, Phosporus, Potassium, Temperature, Humidity, pH, and Rainfall. \n- These conditions are then processed by a preloaded machine learning model to predict a suitable crop for the given conditions.\n\n```bash\nN = int(request.form['Nitrogen'])\nP = int(request.form['Phosporus'])\nK = int(request.form['Potassium'])\ntemp = float(request.form['Temperature'])\nhumidity = float(request.form['Humidity'])\nph = float(request.form['pH'])\nrainfall = float(request.form['Rainfall'])\n\nfeature_list = [N, P, K, temp, humidity, ph, rainfall]\nsingle_pred = np.array(feature_list).reshape(1, -1)\n\nprediction = loaded_model.predict(single_pred)\n```\n\n- Once a prediction is determined, the output is matched against a dictionary to retrieve the crop's name and deliver a readable and user-friendly output.\n```bash\ncrop_dict = {1: \"Rice\", 2: \"Maize\", 3: \"Jute\", 4: \"Cotton\", 5: \"Coconut\", 6: \"Papaya\", 7: \"Orange\",\n             8: \"Apple\", 9: \"Muskmelon\", 10: \"Watermelon\", 11: \"Grapes\", 12: \"Mango\", 13: \"Banana\",\n             14: \"Pomegranate\", 15: \"Lentil\", 16: \"Blackgram\", 17: \"Mungbean\", 18: \"Mothbeans\",\n             19: \"Pigeonpeas\", 20: \"Kidneybeans\", 21: \"Chickpea\", 22: \"Coffee\n```\n\n## Project Demo: https://github.com/vishant007/annadataa/assets/64253459/f674c78e-74be-4144-b244-4e27eb117f7c\n\n## Installation Guide:\n\n- Clone the repo into your device.\n- Install required dependencies\n- Run the following commands:\n\n```bash\ncd Crops-Recommendation-System-ML-AI\nflask run\n```\n\n- Open new terminal.\n- Run the following command\n\n```bash\npython manage.py runserver\n```\n- Happy Hacking!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishant007%2Fannadataa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishant007%2Fannadataa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishant007%2Fannadataa/lists"}