PyretoClustR (executable version)
PyretoClustR (executable version) Distilling the Pareto Optimal Front into Actionable Insights ##Highlights: Open-access tool to cluster and visualize complex multi-dimensional Pareto solutions Bridging the gap between decision and objective space through intuitive visualizations Implements k-means and k-medoids clustering without expert knowledge Uses frequency maps to display hotspot locations for spatial optimization problems Increasing stakeholder accessibility to Pareto solutions Program languages: Python, RSoftware availability (source code version): https://github.com/SydneyEWhite/Pareto_ClusteringSoftware availability (executable version, with python and libraries implemented): Zenodo (10.5281/zenodo.14761001) ## Overview This framework performs k-means and k-medoids clustering on a set of Pareto optimal solutions derived from a multi-objective optimization algorithm. (Optional) A correlation matrix of the input variables is returned (the goal is to help users reduce the input variable count). Before clustering occurs, the data is cast onto principal component axes and extreme solutions are handled (if desired). The code iterates through different possible inputs for the number of clusters, the number of principal components, and the variables that define 'extreme solutions'. After these iterations, the best solution, as defined by silhouette score, is visualized in several ways: Representative solutions are plotted on up to 4 dimensions Distributions of values within the clusters are plotted in a violin plot (optional) Maps with the frequency of a trait can be plotted, if locational data (*.shp file) is provided ## Background: executable version Unlike the version of PyretoClustR available on GitHub (https://github.com/SydneyEWhite/PyretoClustR), this version on Zenodo represents a standalone version of PyretoClustR not requiring a Python installation. The python_files folder contains three executables and one folder called _internal. The executables can be run by clicking on them. The _internal folder is crucial for the standalone operation of the executables and should not be modified or deleted. ## Example Data The data provided in the input folder (pareto_and_scen_solutions.csv and the shapefiles) are part of the BiodivERsA project TALE (‘Towards multifunctional agricultural landscapes in Europe’). This project optimized four objectives, Agricultural gross margin (AY), Breeding habitat (BH), Low flow (LF), Nitrate load (NL) and four different land use scenarios (SQ, BAU, EXT, INT) were distinguished in the decision space. The config.ini has been adapted to run with this dataset. To run it with your own data please alter the respective input values as outlined in config.ini. ## Directory Structure project_root/||── README.md||── input/| |── config.ini| |── [your_input_data].csv| └── [shape_files]||── python_files/| |── _internal| |── correlation_matrix.exe| |── kmeans.exe| └── kmedoid.exe||── r_files/| └── plot_frequency_maps.R|└── output/ (populated once code is run) |── correlation_matrix.csv (if run) |── kmeans_data_w_clusters_representativesolutions.csv (created with kmeans.exe when Extreme Solutions are not handled) |── kmeans_data_w_clusters_representativesolutions_outliers.csv (created with kmeans.exe when Extreme Solutions are handled) |── kmedoid_data_w_clusters_representativesolutions.csv (created with kmedoid.exe when Extreme Solutions are not handled) |── kmedoid_data_w_clusters_representativesolutions_outliers.csv (created with kmedoid.exe when Extreme Solutions are handled) └── freq_map_cluster_X.png (if run)
Updated: 2026-10-06T16:20:55Z
Temporal extent:
date
Language: Unknown
