博舍

Capstone Project chain stores

Capstone Project

OneofthebiggestissuesfacebychainstoresintheretailindustryistheSupplychainmanagement.ThecomponentofthesupplychaininvolvedindetermininghowbesttofulfiltheserequirementsarecreatedfromtheDemandPlan.Theobjectiveofdemandplanistobalancesupplyanddemandinamannerthatachievesthefinancialandserviceobjectivesoftheenterprise.

Ifwelookintothecaseofaretailchainstore,thebasicissueistoknowthedemandofproductsthataresoldinthestore.Ifthedecisionmakingauthorityisawareofthedemandofeachproductonaweeklyormonthlybasis,theywouldbeabletoplanthesupplychainaccordingly.Ifthecreationofademandpredictionmodelispossible,thiswouldsavethecompanyalotofmoneybypreventingover-stockingandbeingabletoplantheirlogisticsandstaffingaccordingly.

Objective

Tocreateamodeltopredicttheweeklysalesforachainofstoresbyanalysingthetrendsofsalesovertimeandtheeconomicfeatures.

Data

TostartthisprojectIamusingadatasetfromKaggle.com.IwouldbedoingmyanalysisandstudyonadatasetthatgivesmetheweeklysalesdataofWalmart.

Thereare3Datasets

WeeklySalesdataof98departmentsin45stores,primarykeyisacombinationof(Store,Dept,Date).TheFeaturesdatasetwitheconomicdetailslikeCPI,Unemploymentrate,Fuelpriceetc..ForeachweekintheregionoftheStoreprimarykeyhereisacombinationof(Store,Date)InthethirddatasetIhaveareaofeachstoreandTypeprimarykeyisStoreMethod

Iambreakingthisprobleminto2stages

1.Createapredictivemodelthatpredictstheweeklysalesof45Stores(InthisstageIamnotplanningtopredictthesalesonDepartmentLevel)2.ExtendtheprojecttoDepartmentLevel(FutureWork)

IdidsomebasiccleaningupofthedataIhadanddidsomebasicexploratoryanalysis.FromtheinsightsIgotfromtheanalysis,Ifurthermovedtocreatingmodelsandfinetuningofmodels.IuseddifferenttypeofRegressionModelsandTimesSeriesAnalysistoproceedandsolvethisstage.

ListofModels1.LassoRegression2.RandomForestRegression3.SupportVectorRegression4.TimeSeriesAnalysisConclusion

Ihavecomeupwithdifferentmodelsthathavehelpedmetopredicttheweeklysalesof45storeswitharound96.5%ofaccuracyfor3months(90Days).OutofthemodelsIran,IselectedtheLassoRegressionasmypredictiveModelsinceitgavemethehighaccuracyofpredictionwiththelowestresidual(error).

EventhoughIhaveselectedonemodelasofnowIamtryingtopredictsalesfor45stores.Iamsuretheimpactofeachfeaturemightbedifferentfordifferentstoresbecauseofmanyreasonsandthat聮swhyIcheckedhowdifferentmypredictionwitheachstoreis.

Herethebiggerthebubbleisthehigherthevariationinprediction.Sowecanseethatthereare3storeswhichhavemorethan5%variationinprediction.InthefuturestudyIcanlookintothesestoreandtrytoseewhatgoeswrongandusinganensemblemethodofgettingpredictionfromdifferentmodelstrytoimprovethepredictions

CheckthisinGitHub

clickheretocheckmycapstone

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。

上一篇

下一篇