Coder Social home page Coder Social logo

jiangzl2016 / database-design-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 14.87 MB

Database design project for Student Store, the content includes: EER Diagram, Data Schema, Generated Data, Sample Queries and Normalisation. All data used are generated artificially. Collaborators: Mimi, L., Nicky, L., Ethan, K. Emma, H., Annie, S., Jinglin Z., Derek S., Lucie K., YunHee, K.

Jupyter Notebook 44.58% HTML 55.42%

database-design-project's Introduction

Student Store Database Design Project

We set out to build a robust and functional database for the university Student Store. We believed that a new database to track their sales, purchases, and inventory would allow them to perform processes such as forecasting sales and predicting orders that would ultimately give them a better understanding of their customer, and their store. We planned out all pieces of information needed to perform these processes, and mapped out a clear method for organizing this information in a database including these five search queries, as well as their results.

  1. Worker Forecasting: designed to determine the optimal number of employees needed to operate the store on an average day. We also varied the arrival times of customers to determine how busy the store would need to be in order for the cashier to have no extra time for tasks such as restocking.

  2. Return on Investment: check each promotion’s effectiveness. For each promotion category, we produced a rating that is calculated by using the return on investment (ROI) method. Overall this query will help the Cal Student Store to determine which promotion(s) to emphasize.

  3. Store Location Analysis: analyze and identify where the most profitable location is for the most popular products sold in the Cal Student Store. This was done by evaluating the average profit of each individual item when placed in each section of the store. We determined where the ten top products should be placed within the store such that no constraint is violated and the total profit is maximized.

  4. Customer Behavior Prediction and Product Recommendation: conduct customer behaviour prediction using machine learning algorithms. We aim to predict the category of product that is most likely to be purchased by customers with different features, and use this prediction to implement target marketing strategy. We achieved this feature selection and prediction through three different machine learning algorithms - K-Nearest-Neighbor Classification, Logistic Regression, and Classification Tree.

  5. Inventory Time Series Analysis: create an approach for the Student Store to track historical inventory levels of merchandise. We applied time series models: ARIMA model and STL model to conduct analysis and prediction. We focused our attention on the occurrences of stock-outs that happen over a two-year time period. These key timestamps, cross-referenced with special events, have the implication that a store manager needs to be prompted to order more products.

IV. Database Diagram and Schema (partial)

SQL Queries and Modeling

Details please see SQL Queries folders

database-design-project's People

Contributors

jiangzl2016 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.