Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

$ Task: Plot an interactive demographics map of ZIP codes with high value homes Use the ACS data to show the ZIP codes with homes

image text in transcribed
$ Task: Plot an interactive demographics map of ZIP codes with high value homes Use the ACS data to show the ZIP codes with homes greater than 0.5M (500K). You will need to do the following: 1. Filter the data to the homes with value > 500 (in the ACS data) 2. Aggregate those and use VAL_DENOM as the denomenator to get a percentage 3. Add the calculated field to the filtered GeoDataFrame 4. Run the GeoDataFrame. explore () function on the dataset Your output will look something like this (but with colored Z.CTAs indicating the high value homes Z.CTA): (33): df_shp_zip.explore() [33]: + Thunder Lake Superior Wisconsin 100 km 100 mi Green Leaflet | @ OpenStreetMap contributors $ Task: Plot demographics and EV You will now take your EV dataset from the first part and analyze it with the ACS data. You will find that GeoPandas works just like Pandas in allowing for operations on DataFrames. You will take the EV data and merge it with eht ACS data, and make the following plots: 1. plot (using GeoPandas plot ()) MEDIANHHI using the ZCTA 2. plot (using GeoPandas plot () ) HOMEOWNPCT using the Z.CTA 3. create a correlation matrix of MEDIANHHI and ev_ count for all ZIP codes 4. plot an interactive plot (using explore ()) of the correlation; to do this you will need to find the correlation for all ZIP codes then merge these back into the GeoDataFrame. (25%) Perform clustering using Gaussian Mixture Model (EM) in SciKit-Learn In lecture, we learned about GMMs or the Expectation Maximization algorithm. Again, you should become familiar with the algorithm and implementation in ScikitLearn: . sklearn.mixture.GaussianMixture In this part we will explore three variations to clustering: variation 1: cluster based on a pre-defined set of features variation 2: cluster based on a high variance features

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Algebra advanced algebra with financial applications

Authors: Robert K. Gerver

1st edition

978-1285444857, 128544485X, 978-0357229101, 035722910X, 978-0538449670

More Books

Students also viewed these Mathematics questions

Question

What are treble damages under RICO?

Answered: 1 week ago