raghav-khanna / Facility-Location-India

MIT License
1 stars 0 forks source link

[Ziko et.al] Add code to scale data to 600000 points #10

Open DarkMenacer opened 10 months ago

DarkMenacer commented 10 months ago

Description

In the dataset, Population density is the decisive criteria, the points by themselves are just location place-holders for population density. Each point has a (sensitive) attribute, pop_density and hence it should be replicated that many times in the dataset.

To Do

  1. Go to src/dataset_load.py
  2. After comment section ' #Sort data on the basis of protected groups'
  3. Add code to replicate each point 'pop_density' no. of times

Example

If a point has pop_density 10, then the [latitude, longitude] should be added to the dataset 10 times dynamically