Graphical interface for computing aggregation functions on tabular data and evaluating binary classification.
Wersja polska: Polski
Install the library from the repository root:
python -m pip install .
Launch the application with:
agglib start
If the environment is missing packages required by the interface (shiny, pandas, matplotlib, scikit-learn, pygments), the CLI will ask whether to install them:
Install the graphical interface? [Y/n]
You can also install all dependencies upfront:
python -m pip install ".[app]"
The agglib serve command works identically to agglib start. Press Ctrl+C to stop the server.
Test mode: Appending
?tester=1to the browser URL (e.g.http://127.0.0.1:8000/?tester=1) automatically loads the sample datasetexample.csvalong with ground truth labels.
By default, the preview shows the first 5 and last 5 rows (5 … 5), with an option to switch to the full table (All rows, capped at 2,000 rows in the browser view). Sorting and truncating the preview do not affect the row order in calculations or exports.
Uploaded CSV files are validated before loading (up to 20 MB and 100,000 rows), and each task checks estimated memory usage and method complexity before entering the queue. Aggregations run asynchronously in a bounded background queue with a live progress bar.
All 21 aggregation functions from aggregationslib.ndarray are available, including the Choquet (A_ch) and Sugeno (A_sg) fuzzy integrals with six types of measures:
Because measure constructors generate subsets, the weighted, owa, and k-fuzzy variants are limited to 12 selected columns in the interface. Input data are not automatically normalized, and missing values (NaN) or infinite values in selected columns are reported as errors.
At the bottom of the form, you can download the resulting CSV file (containing the original columns plus the computed result) as well as ready-to-run, standalone Python code reproducing the calculations.
In the Ground truth labels section, you can provide true class labels (by pasting them as text or uploading a CSV file) to evaluate binary classification based on the aggregation scores:
1) and choose whether a higher aggregation score indicates the positive or negative class.Once labels are provided, the application computes:
scikit-learn documentation),