Skip to main content

Posts

Mahindra Venkat Lukka

Looking for Full-Time Opportunities, Analyst, Operations Enthusiast, Master of Science in Business Analytics, Arizona State University

US Presidential Election '16 Insights

Download the Tableau Dashboard After visualizing the US Presidenti al Election '16 data till Ap ril'16, I found couple of Insights. Republican party spent more compared to Democratic Party in initial days of campaign and slowed from January '16. If we see the running totals of both at the end of April '16, its almost same. One hypothesis we can think of is: because of Republicans initial spend, they might have won the election. Even though both the parties spent almost the same amount of money over time, the Republican Party has spent the highest in many states.

Skills

Programming Languages: Python, R Databases: MySQL Tools: Tableau, Adobe Analytics, AWS, Minitab, Primavera P6, @RISK IDE: Jupyter, RStudio Strengths: Innovation, Teamwork, Initiator, Communication Professional Qualifications: IBM Data Science Professional, Data Mining, Machine Learning, Data Visualization, Enterprise Data Modeling, Marketing Analytics, Optimization Modeling, Block Chain, Project Management

About Me

I have 2 years of experience working with the Project Management department of a $20B Construction company, Larsen & Toubro Construction . At L&T, I played the role of Planning Analyst who always strives to analyze, forecasts and provides the optimal resources for completing the project on time, cost and quality. During my job, I gained expertise in creating project metrics using SQL, Tableau and supporting project progress through cross-functional collaboration with multiple stakeholders. While talking to my managers and getting their feedback, I was always curious to know about how to improve the data analysis and how to use it for optimizing the resources. I started creating the invoice and progress monitoring dashboards using Tableau which improved the productivity of a planner. My passion for data-driven project management led me to pursue a Master's degree in Business Analytics. I am currently a student in the Master of Science Business Analytics progra...

Random Forest, Hyper Parameter Tuning & Cross Validation

Picture Source: https://medium.com/@williamkoehrsen/random-forest-simple-explanation-377895a60d2d Python Code: Github Link How Random Forest works? - It's a forest of Trees!! 1. Simply, its a combination of many trees. 2. It's always better to take more suggestions and decide on majority voting rather going for a single suggestion. Same principle works in our Random Forest. 3. In this way, the probability of error gets decreased. 4. So, it works similar to the decision tree. 5. The number of trees is the main parameter and remaining all similar to the decision tree. How to know the optimal parameters where model performance is high? 1. Here comes the hyper-parameter tuning for increasing model performance. 2. There are two types of hyper-parameter tuning. i) Grid search and ii) Randomized search. 3. For both types, we have to give the ranges of parameters and algorithm searches in those ranges and gives us the optimal parameters. 4. Grid search searches in...

Decision Tree

Picture Source: https://towardsdatascience.com/machine-learning-classifiers-a5cc4e1b0623 Python Code: Github Link What is Decision Tree? 1. A simple IF-THEN rules through the branches of a tree till the leaf which tells us the output and why it is. 2. It splits the features into the branches and goes till leaves. 3. So, the parameters for a decision tree will be maximum depth of tree, minimum leaf size and the evaluation criterion. 4. How to evaluate a leaf? We always see for a homogeneous leaf. 5. What is homogeneous? Let's have 2 leafs L1 and L2. L1 have 50 values Yes and 50 Values No.L2 have 90 vales Yes and 10 values No. Which one we will prefer? It's obvious to prefer L2. So L2 is a homogeneous leaf which gives more information. 6. So, the evaluation criterion is based on how much information we gaining. 7. Because of this information gain, the decision tree always try to overfit the model. 8. So how to stop our tree for not getting overfit? 9. Here com...

How Ensemble Stacking helps in improving Accuracy

Picture Source: https://blogs.sas.com Python Code: Github File Aim of work: To understand how ensemble stacking helps in improving accuracy. Requirements: 3 to 5 Hyper parameter tuned models. Procedure: 1. First let us take 3 to 5 models such as Decision Tree, Random Forest, Gradient Boosting, Support Vector, Multi-Layer Perceptron etc. 2. Perform Hyper Parameter Tuning on these base models. This can be done by either randomized search or grid search. 3. Now perform ensemble stacking of these models. This step combines all the outputs of different models and gives the majority as our prediction. 4. Next comes the Layer 1 stacking. Here we use the best performing model lets say random forest on this ensembled model. So, here our combined outputs become f(x) in f(x) = y and then becomes our new training set. 5. This gives a significant improvement in terms of accuracy. 6. This trend was observed in many kaggle problems. Result: Improved accuracy The main concept...