CS628 – Data Science
Project # 5: Visualization Assignment
Monroe College
For the following questions (1 to 3), work with the bank_marketing_training data set. Use Python.
Attached is the file. Start with the following code.
1. # import required package
2. import pandas as pd
3.
4. # read the csv bank_train data using the pandas package
5. bank_train = pd.read_csv(“/Users/edeki/Desktop/Website Data Sets/bank_marketing_training”)
1.
Create a bar graph of the previous_outcome variable, with response overlay.
2.
Create a normalized bar graph of previous_outcome variable with response overlay. Describe the
relationship between previous_outcome and response.
3.
Examine the non‐normalized and normalized histograms of duration, with overlay of response.
Identify cutoff point(s) for duration, which separate low values of response from high values.
Define a new categorical variable, duration_binned, using the cutoff points you identified.
For the following questions (4 to 5), work with the adult_ch3_training data set
1. # read the csv adult_ch3_training data using the pandas package
2. adult_ch3_train = pd.read_csv(“/Users/edeki/Desktop/Website Data Sets/adult_ch3_training”)
4.
Consider capital‐loss. Identify the outliers in capital‐loss using the Z‐score method. How many outliers are there?
5.
Construct a bar graph of Income for these outlier records.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more