{"id":19521558,"url":"https://github.com/curiousily/deploy-keras-deep-learning-model-with-flask","last_synced_at":"2025-04-26T09:31:57.043Z","repository":{"id":38001276,"uuid":"216600085","full_name":"curiousily/Deploy-Keras-Deep-Learning-Model-with-Flask","owner":"curiousily","description":"Build Deep Neural Network model in Keras and deploy a REST API to production with Flask on Google App Engine","archived":false,"fork":false,"pushed_at":"2023-05-01T21:15:57.000Z","size":716,"stargazers_count":32,"open_issues_count":3,"forks_count":19,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T10:23:04.725Z","etag":null,"topics":["airbnb","deep-learning","google-appengine","jupyter-notebook","keras","machine-learning","neural-network","price-prediction","python","regression","rest-api","scikit-learn","tensorflow"],"latest_commit_sha":null,"homepage":"https://www.curiousily.com/posts/deploy-keras-deep-learning-project-to-production-with-flask/","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/curiousily.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}},"created_at":"2019-10-21T15:18:24.000Z","updated_at":"2025-03-14T14:55:49.000Z","dependencies_parsed_at":"2024-11-11T00:33:20.361Z","dependency_job_id":"0cb24e7f-6ad5-4455-ab78-2936fdad79bf","html_url":"https://github.com/curiousily/Deploy-Keras-Deep-Learning-Model-with-Flask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curiousily%2FDeploy-Keras-Deep-Learning-Model-with-Flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curiousily%2FDeploy-Keras-Deep-Learning-Model-with-Flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curiousily%2FDeploy-Keras-Deep-Learning-Model-with-Flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curiousily%2FDeploy-Keras-Deep-Learning-Model-with-Flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curiousily","download_url":"https://codeload.github.com/curiousily/Deploy-Keras-Deep-Learning-Model-with-Flask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250967113,"owners_count":21515537,"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":["airbnb","deep-learning","google-appengine","jupyter-notebook","keras","machine-learning","neural-network","price-prediction","python","regression","rest-api","scikit-learn","tensorflow"],"created_at":"2024-11-11T00:33:14.929Z","updated_at":"2025-04-26T09:31:56.742Z","avatar_url":"https://github.com/curiousily.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zero to Production\n\n\u003e It is not recommended to deploy your production models as shown here. This is just an end-to-end example to get started quickly.\n\n[Read the complete guide](https://www.curiousily.com/posts/deploy-keras-deep-learning-project-to-production-with-flask/)\n\nThis guide shows you how to:\n\n- build a Deep Neural Network that predicts Airbnb prices in NYC (using scikit-learn and Keras)\n- build a REST API that predicts prices based on the model (using Flask and gunicorn)\n- deploy the model to production on Google App Engine\n\n# Quick start\n\nRequirements:\n\n- Python 3.7\n- Google Cloud Engine account\n- [Google Cloud SDK](https://cloud.google.com/sdk/install)\n\nClone this repository:\n\n```bash\ngit clone git@github.com:curiousily/End-to-End-Machine-Learning-with-Keras.git\ncd End-to-End-Machine-Learning-with-Keras\n```\n\nInstall libraries:\n\n```bash\npip install -r requirements.txt\n```\n\n## Start local server\n\n```bash\nflask run\n```\n\n## Make predictions\n\n```bash\ncurl -d '{\"neighbourhood_group\": \"Brooklyn\", \"latitude\": 40.64749, \"longitude\": -73.97237, \"room_type\": \"Private room\", \"minimum_nights\": 1, \"number_of_reviews\": 9, \"calculated_host_listings_count\": 6, \"availability_365\": 365}' -H \"Content-Type: application/json\" -X POST http://localhost:5000\n```\n\n## Deploy to Google App Engine\n\n```bash\ngcloud app deploy\n```\n\n[Read the complete guide](https://www.curiousily.com/posts/deploy-keras-deep-learning-project-to-production-with-flask/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuriousily%2Fdeploy-keras-deep-learning-model-with-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuriousily%2Fdeploy-keras-deep-learning-model-with-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuriousily%2Fdeploy-keras-deep-learning-model-with-flask/lists"}