资源描述:
《predictive analytics and machine learning》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、PredictiveAnalyticsandMachineLearningPredictiveanalyticsandmachinelearningarehot,newresearchfields.Theyarenewcomparedtootherfieldsand,withoutadoubt,wecanexpectalotofrapidgrowth.Itisevenpredictedthatmachinelearningwillacceleratesofastthatwithinmeredecadeshumanlaborwillbereplacedbyintelligentmac
2、hines(seehttp://en.wikipedia.org/wiki/Technological_singularity).Thecurrentstateofartisfarfromthatutopia.Alotofcomputingpoweranddataisstillneededtomakeevensimpledecisions,suchasdeterminingwhetherpicturesontheInternetcontaindogsorcats.Predictiveanalyticsusesavarietyoftechniques,includingmachine
3、learningtomakeusefulpredictions,forinstance,todeterminewhetheracustomercanrepayhisorherloansoridentifyfemalecustomerswhoarepregnant(seehttp://www.forbes.com/sites/kashmirhill/2012/02/16/how-target-figured-out-a-teen-girl-was-pregnant-before-her-father-did/).Tomakethesepredictions,featuresareex
4、tractedfromhugevolumesofdata.Wementionedfeaturesbefore—theyarealsocalledpredictors.Featuresareinputvariablesthatcanbeusedtomakepredictions.Inessence,wehavefeaturesfoundinourdataandwearelookingforafunctionthatmapsthefeaturestoatarget,whichmayormaynotbeknown.Findingtheappropriatefunctioncanbehar
5、d;often,differentalgorithmsandmodelsaregroupedtogetherinsocalledensembles.Theoutputofanensemblecanbeamajorityvoteoranaverageofagroupofmodels,butwecanalsouseamoreadvancedalgorithmtoproducethefinalresult.Wewillnotbeusingensemblesinthischapter,butitissomethingtokeepinmind.PredictiveAnalyticsandMa
6、chineLearningInthepreviouschapter,wegotatasteofmachinelearningalgorithms—theNaiveBayesclassificationalgorithm.Wecandividemachinelearningintothefollowingcategories:•Supervisedlearning:Thisrequiresustolabeltrainingdata.Forinstance,ifwewanttoclassifyspam,weneedtoprovideexamplesofspamandnormale-ma
7、ilmessages.•Unsupervisedlearning:Thisdoesn'trequirehumaninput.Thistypeoflearningcandiscoverpatternssuchasclustersinlargedatasets.•Reinforcementlearning:Thisislearningwithoutatutor,butwithsomesortoffeedback.Forexample,acomputercanplayche