GeoDaCenter / GeoDaCenter/pygeoda

Skater does not respect the number of clusters (regions with a minimum and maximum value)

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
44
Forks
7
Avg merge
1h 42m
Merged PRs (30d)
2

Description

Hi

I am triying to do a regionalization with the skater algorithm. What I want to to is generate a set of regions where each region has a minimum and maximum values (let´s say minumun population) the way that I am trying to set maximum value is by giving a specific number of clusters (for example if a have `n` regions and a the total population is 1,000 and I want regions with a value of around 200 I will set 4 clusters with a minimum value of 190) .

the problem is that the algorithm doesn't respect the `k` values that I give . Taking this simple example let´s say that It generates 3 regions ( but if it meets the constraint).

Does anyone knows how can I solve this?

Best regards,

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names the Skater algorithm and its cluster-count and minimum-value inputs but no file, test, or API entry point. Reproduce the described case first, then trace the Skater implementation and its constraint handling; done should be a confirmed explanation or a change with coverage showing the requested k and minimum are handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.