{"id":25295885,"url":"https://github.com/kavindulakmal/flask_ml_web_app","last_synced_at":"2026-04-18T00:02:29.267Z","repository":{"id":204261825,"uuid":"711453263","full_name":"Kavindulakmal/Flask_ML_Web_App","owner":"Kavindulakmal","description":"Use a Machine Learning Model with Python Flask","archived":false,"fork":false,"pushed_at":"2023-10-29T11:07:17.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-13T03:43:05.627Z","etag":null,"topics":["flask","linear-regression","machine-learning","python"],"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/Kavindulakmal.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-29T10:12:44.000Z","updated_at":"2023-10-29T11:05:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f49232b-5f67-4797-8473-cfa9183d1142","html_url":"https://github.com/Kavindulakmal/Flask_ML_Web_App","commit_stats":null,"previous_names":["kavindulakmal/flask_ml_web_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kavindulakmal/Flask_ML_Web_App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kavindulakmal%2FFlask_ML_Web_App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kavindulakmal%2FFlask_ML_Web_App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kavindulakmal%2FFlask_ML_Web_App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kavindulakmal%2FFlask_ML_Web_App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kavindulakmal","download_url":"https://codeload.github.com/Kavindulakmal/Flask_ML_Web_App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kavindulakmal%2FFlask_ML_Web_App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31950891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["flask","linear-regression","machine-learning","python"],"created_at":"2025-02-13T02:41:50.538Z","updated_at":"2026-04-18T00:02:29.250Z","avatar_url":"https://github.com/Kavindulakmal.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Machine Learning Web Application With Flask\nThis is a project to elaborate how to use a Machine Learning model using Flask API\n\n### Prerequisites\nYou must have \n1. click==7.1.2 \n2. itsdangerous==1.1.0\n3. Jinja2==2.11.3\n4. joblib==1.0.1\n5. kaleido==0.2.1\n6. MarkupSafe==1.1.1\n7. numpy==1.20.2\n8. pandas==1.2.3\n9. plotly==4.14.3\n10. python-dateutil==2.8.1\n11. pytz==2021.1\n12. retrying==1.3.3\n13. scikit-learn==0.24.1\n14. scipy==1.6.2\n15. six==1.15.0\n16. threadpoolctl==2.1.0\n17. Werkzeug==1.0.1(for Machine Learning Model) and Flask (for API) installed.\n\n### Project Structure\ninside app folder\n1. app.py - This contains Flask APIs that receive employee details through  API calls.\u003cbe\u003e\n2. templates -This folder contains the HTML template (index.html) to allow  the entry  of details and display the predicted graph.\u003cbr\u003e\n3. static - This folder contains the files that are downloaded images from the app.\u003cbe\u003e\n\n### Running the project\n1.Ensure that you are in the project home directory. Create the virtual environment by running the below command from the command prompt -\n```\npython -m venv .env\n```\nAnd activate virtual environment by running the below command from the command prompt\n```\n.env\\Scripts\\activate\n```\n2.Go to the `app` folder and run the below command from the command prompt\n```\nflask run\n```\nBy default, flask will run on port 5000.\n\nNavigate to URL http://127.0.0.1:5000/ (or) http://localhost:5000\n\nYou should be able to view the homepage.\n\nInput a comma-separated list of age values like `1,2,17.4`.\nIf everything goes well, you should be able to see the predicted  values on the HTML page! \n\n### Contributing\nPull requests are welcomed. For major changes, please open an issue first to discuss what you would like to change. Thanks!\n\nHappy Coding!!!\n\n### Copyright\n© KAVINDU™ | 2023\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavindulakmal%2Fflask_ml_web_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkavindulakmal%2Fflask_ml_web_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavindulakmal%2Fflask_ml_web_app/lists"}