You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the SKATER model, and continue to run into issues with the ValueError: Islands must be larger than the quorum. If not, drop the small islands and solve for clusters in the remaining field.
I've been following the examples provided on their website with no success. I'm using spopt 0.6.1.
My weights dictionary has no islands, and there are 636 geometries I'm trying to cluster into 6 clusters, and I want at least 98 geometries in each cluster. Given the weights, all geometries border at least one other geometry.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
The error is somewhat misleading due to our change in terminology. The error should be warning about disconnected components, not islands.
Are there disconnected subgraphs in weights that have more than 98 observations? You can check the weights.connected_components_, and can dig into it further using scipy.sparse.csgraph.connected_components() on your weights.sparse to investigate.
I'm trying to use the SKATER model, and continue to run into issues with the ValueError:
Islands must be larger than the quorum. If not, drop the small islands and solve for clusters in the remaining field.
I've been following the examples provided on their website with no success. I'm using spopt 0.6.1.
My weights dictionary has no islands, and there are 636 geometries I'm trying to cluster into 6 clusters, and I want at least 98 geometries in each cluster. Given the weights, all geometries border at least one other geometry.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: