Skip to content

An exploratory study of understanding visit patterns of customers at a shopping mall and predicting their visit in the upcoming week.

Notifications You must be signed in to change notification settings

vikram-raju/Customer-Visits

Repository files navigation

Found a very interesting dataset on Kaggle on customer visits predicition of a shopping mall. Though I'd play with the dataset to see what can be done - it's a good feature engineering and modeling challenge.

Customer-Visits

The data-set provides information about shopping mall visits of 300k customers over the course of 143 weeks. Each line represents one customer - the first column contains a unique customer identifier and the second column contains a vector of the day numbers he/she visited the mall.

The day with index 1 is a Monday (7 is a Sunday, 8 is again a Monday). Indices are within a range of 1 to 1001 (which is equal to 143 full weeks). The task is to predict the first day of the next visit (in week 144).

For instance, if a customer will visit the mall on a Wednesday, then the model should predict 3.

Remarks

This problem is interesting since the crux of the exercise is feature engineering. The journey of taking the problem from raw_data

to

engg_data

Secondly, when you do the above, the data set becomes extremely heavy. Making use of your hardware to the max is important. memory

Folks looking at how it performed, here's a screengrab of the confusion matrix. confusion_matrix

About

An exploratory study of understanding visit patterns of customers at a shopping mall and predicting their visit in the upcoming week.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages