This blog closed after an unfoirtunate run-in with Batch 8, CBA. I'd then decided to close this blog for CBA course-related work.
But nothing stops me from restarting it for keeping track of my own work. Which is what follows.
I read many posts online on tech and code. This blog seems like a good place to keep track of some of the more interesting or useful ones.
+++++++++++
First, here's a nice post on how to use LASSO (Least Absolute Shrinkage and Selection Operator) to do [political] micro-targeting and online-ad-retargeting using FB 'Likes' and preference data on the one side and the Big-5 personality framework on the other.
Let me quote from the blog itself:
Basically, Microtargeting is the prediction of psychological profiles on the basis of social media activity and using that knowledge to address different personality types with customized ads. Microtargeting is not only used in the political arena but of course also in Marketing and Customer Relationship Management (CRM).
So, what's *LASSO*? An extension of the classical linear regression wherein, given many IVs on the RHS, we fish for the 'best'/'most important' ones by *shrinking* all coefficients to zero via a constrained optimization routine neatly packaged and delivered via the **glm** R library.
Another advantage of this post - it provides dummy data to test the code on. As well as decent interpretations for the shrunk yet non-zero beta coefficients in the output.
Even better, since its all pure-R, *shiny-fying* it for later use in a PGP classroom is eased.
Note: Machine Learning Basics for Marketers (MLBM) is on offer for the first time in Term 7 this acad year.
+++++++++++
Well, will close here for now. More posts will hopefully follow and this attempt won't fizzle out yet again.
Sudhir Voleti, Oct 2019.
No comments:
Post a Comment