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 non-fruitful function drawequitriangle

Write a non-fruitful function drawEquitriangle(someturtle, somesize) which calls drawPoly from the previous question to have its turtle draw a equilateral triangle

  Compare the functionalities of those two objects

Compare the functionalities of those two objects. What are some ways to insert, update, and remove elements from lists and dictionaries?

  Make a python program that uses the getcwd

Make a Python program that uses the getcwd() function to provide a string of the current working directory. Save the string in the variable current folder and display the value.

  Write a program that prints the longest substring

HIT137 SOFTWARE NOW - Charles Darwin University - Write a program that prints the longest substring - Write a python program that allows the user to navigate

  Asks the user for the number of males and number of females

Write a program that asks the user for the number of males and the number of females registered in a class using two separate inputs.

  Write a modularized body mass index program

Write a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows.

  Write code to show the usage of all of the function you have

This function accepts a string of characters and displays it 5 times on the screen. In your main function, you will show its usage.

  Create functions to simplify your code

Create functions to simplify your code. If you find yourself writing the same code over and over again, it should probably be made into a function.

  What are files and what are the benefits of using files

Write a Python program that reads a text file 'sentence.txt' containing four lines of text and prints those lines.

  Create an an expression that produces a list of all values

Create an an expression that produces a list of all the values from 1 to n, which are not divisible by 2 or divisible by 3.

  Building an online moving streaming service

CS 7337 Natural Language Processing - Python Programming In what way is this sentence ambiguous? Describe different interpretations of this sentence

  Ai-generated for the paragraph section

When AI-generated for the paragraph section many pages come up, but some of them are not required to select from them

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