Simulate use case and consolidate your practical knowledge

Assignment Help Python Programming
Reference no: EM133675056

Programming AI for Business Analytics

Assessment - Skills-Building: Causal AI with Python

Assessment - Practical Python Causal Artificial Intelligence Coding

Your Task

In class, Follow the steps within the Google Colab notebook to complete a Python code.

Background
Imagine that you are a Business Analyst in a top consulting firm and that you have been tasked with the identification of factors that cause Australian macroeconomic changes.

This skills-building exercise is a workflow that has been designed to simulate this use case and consolidate your practical knowledge of Python, Google Colab, and machine-learning approaches for causal inference.

The Google Colab notebook for this assessment will be provided on the day of the assessment.

Assessment Instructions

Section #1: Machine Learning
1A: Installation & Module Imports

Step 1: Install Python libraries and import Python modules.
Run all the codes that will install and import the necessary Python libraries and models.

Step 2: Load and import macroeconomic data as a dataframe.
Load data: read csv file containing macroeconomic data. Create a suitable variable name for the dataframe.
Write the Python code that displays information about the dataframe.

1B: Ordinary Least Squares

Step 1: Basic Dataframe Operations
Perform the necessary steps to transform the dataframe in a format ready for machine learning.

Step 2: Perform Ordinary Least Squares
Perform Ordinary Least Squares (OLS) and answer the following question: what proportion of the outcome variable could be explained by the predictor, or feature, variables?

1C: Gradient Boosting Method

Step 1: XGBoost Machine Learning Algorithm
Create an XGBoost ML model in Python. Create a suitable variable name for the model.

Section #2: Explainable Machine Learning

2A: SHAP

Step 1: Create a SHAP Waterfall Plot of XGBoost ML
What are the Top 5 features that are correlated with the outcome variable?

Step 2: Create a SHAP Force Plot of XGBoost ML
Write no more than one paragraph summary of the insights shown by the SHAP force plot.

2B: Partial Dependence Plots (PDPs)

Step 1: Create a PDP of one feature against the outcome variable
Select one data feature and create a Python code that will display the PDP chart showing effects of this feature on the outcome.

Step 2: Select a second data feature and create a PDP against the outcome variable Select another, different, data feature and create a Python code that will display the PDP chart showing effects of this feature on the outcome.

Section #3: Predict Causal Factors

Step 1: Use EconML AI Causal Learner
Create a suitable variable name for the causal machine learner.
Complete the Python code to create an EconML causal learner.

Step 2: ATE Chart - Visualisation of Causal Factors
Write Python code that will display a chart of the Average Treatment Effect (ATE) magnitudes, or values, for all the data features.
Which of the data features are macroeconomic causal factors?
Given the macroeconomic causal factors, what recommendations would you make to the Australian government?

Important:

Complete the notebook within the allocated time of 3 hours during workshop.
Create a new "text/markdown" cell in Google Colab to record your answers. There's no need to create a separate report.
Email your version of the Google Colab Python notebook as a sharable link. Note: ensure that you create the correct "share" settings.

Reference no: EM133675056

Questions Cloud

Write a problem statement for the master thesis topic : Write a problem statement for this Master Thesis Topic. What strategy should organizations use to protect their remote work environment from threats?
Changing exercise behavior among patients with diabetes : In measuring the effect of SMS messages on changing exercise behavior among patients with diabetes in the intervention group,
Compare impact of globalization on healthcare organizations : Appraise effective leadership strategies that you can implement in health care delivery. Compare the impact of globalization on healthcare organizations,
Examine the role of technology in evolution of cryptography : Examine the role of technology in the evolution of cryptography. Explain the role symmetric algorithms play in securing network protocols.
Simulate use case and consolidate your practical knowledge : Simulate this use case and consolidate your practical knowledge of Python, Google Colab, and machine-learning approaches for causal inference
Mutations that promote longevity : Where should researchers look for mutations that increase life span (i.e., mutations that promote longevity)?
Develop a unix-compatible operating system : What project was launched in 1983 by Richard Stallman, originally to develop a Unix-compatible operating system? How does this impact the history of Linux?
Barriers to adoption of telehealth technologies : What are the facilitators and barriers to the adoption of telehealth technologies for your client? How might you address the barriers?
What cultural considerations might be assessed and addressed : What cultural considerations might be assessed and addressed? What long-term planning should be considered?

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd