Machine learning Python task

Job ID: 37459875

Budget: ₹600 – ₹1,500 INR

you will work on redistricting the Congressional map for New
Jersey.
You are also provided with the map for New Hampshire as it is a smaller state, with only
two districts, that you can use as a sandbox. Various functions and algorithms for NH
will be provided to you in recitation (Recitation_Redistricting.ipynb). You can base
your work on NJ on these. We also provide a NJ-centric Python notebook, with an
example map, as a starting point. (NJ_Redistricting_StartingPoint.ipynb).
Your goal is to produce two maps:
● One map should be as fair as possible
● One map should be designed to give a party/community/area some
advantage (unfair map) using some creative gerrymandering techniques. The
less likely the map would be to be thrown out of courts for obvious
gerrymandering, the better.

The NJ State Assembly has 12 districts. You can see the current (2022) map here:
https://davesredistricting.org/maps#viewmap::6ff0b024-2e5d-4e9b-ba0e-56f6de17ea80
Links to an external site.

We are providing you with various datasets and tools to assist you. All are in
Canvas>Files>Assignments>Redistricting
● A pdf that provides a tutorial to the DRA web app (DRA Tutorial.pdf)
● A file with demographics and electoral data for each NJ and NH precincts
(Map Data/precinct-data-congress-nh.csv and Map
Data/precinct-data-congress-nj.csv). Each precinct is identified by its
GEOID20
● Links to an external site.
● key. You can see a description of the fields in data_dictionary.csv
● Directories with the shape of all precincts, using TIGER shape data
(nh_vtd_2020_bound and nj_vtd_2020_bound). The provided notebooks give
examples of how to use the shape data. You can also use the pre-computed
precinct Contiguity indexes: Contiguity_nh.csv and Contiguity_nj.csv

Deliverables
1. Code (in Python Notebook format) used to generate your districts
2. csv files with the two assignments

https://www.freelancer.com/users/l.php?url=https:%2F%2Fdrive.google.com%2Fdrive%2Ffolders%2F11gocBh1tcu0GqdyyrjLsKRT5Q-QbACV7%3Fusp%3Ddrive_link&sig=b30660ad84dbcf242b3b73c186d6687658dcd1e8df5f60709fc78f14212484be

Need to finish this task asap
I have already have the code... need assistance to run it.. thats all