Assessment - prescriptive analytics with python and ai

Assignment Help Python Programming
Reference no: EM133854607

Artificial Intelligence Programming in Business Analytics

Assessment - Skills-Building: Prescriptive Analytics with Python and AI

Assessment - Practical Python Causal Artificial Intelligence Coding

Task

Follow the steps within the Google Colab notebook to complete the Python code and interpret the results. At the end of the assessment upload the notebook with your answers and code changes to the portal.

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. Get Professional Assignment Help Service Now!

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.

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: LightGBM 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 LightGBM
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?

Reference no: EM133854607

Questions Cloud

How will you encourage her to shop for healthy foods : Given that the patient's family doesn't own a vehicle, how will you encourage her to shop for healthy foods, prepare them.
Advantages of an apn entrepreneur and apn intrapreneur : Compare and contrast the advantages of an APN entrepreneur and APN intrapreneur. Which would you prefer and why?
Types of precautions : Write on the different types of precautions. Note, when these precautions are used and give examples of each.
Types of heart disease : Heart disease remains one of the top causes of mortality in the United States. Consider the various types of heart disease covered in class this week.
Assessment - prescriptive analytics with python and ai : Practical Python Causal Artificial Intelligence Coding - Skills-Building: Prescriptive Analytics with Python and AI - Business Analyst in a top consulting firm
Discuss about public health major for persuasive paper : Please help me brainstorm a possible supporting claim about PUBLIC HEALTH major for Persuasive Paper.
Which refers to an unhealthful intake of dietary nutrients : What is called term which refers to an unhealthful intake of dietary nutrients? Which act establishes responsibilities and rights for employers and employees?
How would you describe the structure of this family : What would be the purpose of using a family mapping (ecomap) technique to describe this family? How would you describe the structure of this family?
How does to work address this stressor for staff : Nearly half (49%) also reported that their heavy or increased workload was a major stressor in the previous three months" (2020, para. 9).

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