Christopher K. Frantz

The lowest common denominator of society is the belief in institutions.

  • Home
  • Research Interests
  • Selected Publications
  • Software
  • Institutions
  • Institutional Grammar 2.0
  • Nested ADICO (nADICO)
  • Norm Life Cycle Model

DBSCAN Extension (Version 0.5) for NetLogo 7 released

Aug 11, 2025 by CF in Software

A new version of the DBSCAN extension for NetLogo has been released, which makes it compatible with NetLogo 7 (Version 0.4 of the extension has an identical feature set, but targets NetLogo versions 5 and 6 – the description provided below hence equally applies for NetLogo 6). This extension provides modellers with the ability to apply density-based clustering in NetLogo models using the DBSCAN algorithm, which only relies on hyperparameters but otherwise operates unsupervised to derive clusters (unlike K-means, which requires the prior indication of number of expected clusters).

The DBSCAN extension can be added via NetLogo’s Extension Manager and supports the following features:

Clustering agents (“turtles”) by location by specifying a maximum permissible distance and a minimum number of agents constituting a cluster.

  • Function cluster-by-location with agent set as central argument (click on function name for full syntactic detail)
  • The following screenshot (of the included demo model) shows this function exemplary:

Clustering agents by variable value (e.g., health level, wealth) by specifying maximum permissible value differences and minimum number of agents constituting a cluster.

  • Function cluster-by-variable with agent set and agent variable/property of interest as central arguments (click on function name for full syntactic detail)
  • The following screenshot of the attached demo model shows this function exemplary:

Clustering patches by variable value (e.g., resource level) by specifying maximum permissible value differences and minimum number of patches constituting a cluster.

  • Function cluster-by-variable with patch set and variable of interest as central arguments (click on function name for full syntactic detail)
  • The following output shows the application of clustering to patch values:

More details about the full feature set, associated syntax and installation can be found on the extension website: https://github.com/chrfrantz/NetLogo-Extension-DBSCAN#readme (opens in new tab).

Tagged with: clustering, dbscan, density-based clustering, java, netlogo, netlogo 7, netlogo extension, software

Popular Posts

Recent Posts

  • DBSCAN Extension (Version 0.5) for NetLogo 7 released
  • IG 2.0 Codebook Version 1.4 released
  • ECPR Panel ‘Computational Institutional Analysis of Bureaucracy’
  • Call for papers: IASC 2023 Panel ‘Leveraging computational methods to decode institutions’
  • IG Book has been published!

Archives

Categories

August 2025
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Apr    

Privacy Policy

© Copyright 2023 - Christopher K. Frantz. All rights reserved. Proudly powered by WordPress — Theme: JustWrite by Acosmin