technology logo
technology logo

Community Demand Prediction

share link

by cassie dot icon Updated: Nov 1, 2021

Solution Kit Solution Kit  

This kit assist to development a web application for the donor to make a meaningful contribution to the community. This is a solution that developed by team blindSpot for Build with AI 2021 Hackathon. High-Level Concept An integrated management platform which will benefit all the parties (AGA/NGOs, Partners, Communities and Families). Strong analytics and predictions (backed by AI) to understand the trends in demands vs supply: Identification of unwanted donations Identification of required order items not being fulfilled Past/present trends across AGA/NGOs-Partners-Community locations and over period of time Real-time predictions of demand - continuously updated by tracking donations from Partners received, and new order for items are requested Real-time inventory data Findings/trends accessible to AGA/NGOs-Partners-Community to allow actionable items Work with AGA/NGOs-Partners-Community and provide consulting and advice on actionable items to address issues Analytics and Predictions Dashboard A centralised platform where AGA/NGOs-Partners-Community can tap into their own data to understand the behaviour of the supply/distribution of donations by the partners against the needs of the communities. The application will provide a dashboard/platform to conveniently and effectively display the various analytics and predictions. The outcome will be actionable items for the AGA/NGOs-Partners-Community to address the issues.

Development Environment

vscodeby microsoft

TypeScript doticonstar image 146644 doticonVersion:1.78.2doticon
License: Permissive (MIT)

Visual Studio Code

Support
    Quality
      Security
        License
          Reuse

            vscodeby microsoft

            TypeScript doticon star image 146644 doticonVersion:1.78.2doticon License: Permissive (MIT)

            Visual Studio Code
            Support
              Quality
                Security
                  License
                    Reuse

                      jupyterby jupyter

                      Python doticonstar image 14381 doticonVersion:Currentdoticon
                      License: Permissive (BSD-3-Clause)

                      Jupyter metapackage for installation, docs and chat

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                jupyterby jupyter

                                Python doticon star image 14381 doticonVersion:Currentdoticon License: Permissive (BSD-3-Clause)

                                Jupyter metapackage for installation, docs and chat
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          Data Transformation & Analysis

                                          The toolkit and libraries to explore and understand the dataset and make insights through data visualization.

                                          pandasby pandas-dev

                                          Python doticonstar image 38499 doticonVersion:v2.0.2doticon
                                          License: Permissive (BSD-3-Clause)

                                          Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    pandasby pandas-dev

                                                    Python doticon star image 38499 doticonVersion:v2.0.2doticon License: Permissive (BSD-3-Clause)

                                                    Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              numpyby numpy

                                                              Python doticonstar image 23587 doticonVersion:v1.24.3doticon
                                                              License: Permissive (BSD-3-Clause)

                                                              The fundamental package for scientific computing with Python.

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        numpyby numpy

                                                                        Python doticon star image 23587 doticonVersion:v1.24.3doticon License: Permissive (BSD-3-Clause)

                                                                        The fundamental package for scientific computing with Python.
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  plotly.pyby plotly

                                                                                  Python doticonstar image 13491 doticonVersion:v5.14.1doticon
                                                                                  License: Permissive (MIT)

                                                                                  The interactive graphing library for Python :sparkles: This project now includes Plotly Express!

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            plotly.pyby plotly

                                                                                            Python doticon star image 13491 doticonVersion:v5.14.1doticon License: Permissive (MIT)

                                                                                            The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      Machine Learning

                                                                                                      Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. We use Prophet to predict the food demands / needs from the Community.

                                                                                                      prophetby facebook

                                                                                                      Python doticonstar image 15918 doticonVersion:v1.1.3-patcheddoticon
                                                                                                      License: Permissive (MIT)

                                                                                                      Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                prophetby facebook

                                                                                                                Python doticon star image 15918 doticonVersion:v1.1.3-patcheddoticon License: Permissive (MIT)

                                                                                                                Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth.
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          Web Development

                                                                                                                          Streamlit is an open-source app framework for Machine Learning and Data Science teams. Streamlit Sharing : https://share.streamlit.io/cassieleong/build-with-hack-2021/main/main.py

                                                                                                                          streamlitby streamlit

                                                                                                                          Python doticonstar image 24920 doticonVersion:1.22.0doticon
                                                                                                                          License: Permissive (Apache-2.0)

                                                                                                                          Streamlit — A faster way to build and share data apps.

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    streamlitby streamlit

                                                                                                                                    Python doticon star image 24920 doticonVersion:1.22.0doticon License: Permissive (Apache-2.0)

                                                                                                                                    Streamlit — A faster way to build and share data apps.
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              Kit Solution Source

                                                                                                                                              Python doticonstar image 0 doticonVersion:Currentdoticon
                                                                                                                                              License: Permissive (Apache-2.0)

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        Community-Demand-Predictionby CassieLeong

                                                                                                                                                        Python doticon star image 0 doticonVersion:Currentdoticon License: Permissive (Apache-2.0)

                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  Deployment Information

                                                                                                                                                                  Git Hub

                                                                                                                                                                  The entire solution is available as a package to download and install from the source code repository. Prerequisite: Python3 Follow below instructions to download and deploy the solution. 1. Open Command Line Interface 2. Run the command 'git clone https://github.com/CassieLeong/Community-Demand-Prediction.git' to clone the repository 3. Run the command 'pip install -r requirements.txt' to install all the dependencies 5. Run the command 'streamlit run main.py' If there're any challenges while installing dependencies, run the command below to upgrade pip and try again. python -m pip install --upgrade pip