This is the public code base that can reproduce the found numbers that are presented in my MSc thesis at the VU. Made by beau fonville working as an internship thesis student for Hapsah.
Find a file
2026-06-25 18:05:08 +02:00
excels added all info 2026-06-24 12:31:29 +02:00
helper_functions added all info 2026-06-24 12:31:29 +02:00
ontology_guidance added all info 2026-06-24 12:31:29 +02:00
results added all info 2026-06-24 12:31:29 +02:00
.gitcommit added all info 2026-06-24 12:31:29 +02:00
.gitignore added all info 2026-06-24 12:31:29 +02:00
analyze_rule_dynamics.py added all info 2026-06-24 12:31:29 +02:00
evaluate_ruleset.py added all info 2026-06-24 12:31:29 +02:00
final_compare_accuracies_no_vervuiling.py added all info 2026-06-24 12:31:29 +02:00
oud_maak_verv_dataset.py added all info 2026-06-24 12:31:29 +02:00
README.md added ripper versions 2026-06-25 18:05:08 +02:00
requirements.txt added requirements.txt 2026-06-24 12:43:18 +02:00
RIPPER_no_onto_guid.py Restore missing core source files (RIPPER variants + experiment runner) 2026-06-25 17:35:57 +02:00
RIPPER_onto_guid.py Restore missing core source files (RIPPER variants + experiment runner) 2026-06-25 17:35:57 +02:00
RIPPER_onto_guid_grow.py Restore missing core source files (RIPPER variants + experiment runner) 2026-06-25 17:35:57 +02:00
RIPPER_onto_guid_grow_and_prune.py Restore missing core source files (RIPPER variants + experiment runner) 2026-06-25 17:35:57 +02:00
RIPPER_onto_guid_grow_prune_mdl.py Restore missing core source files (RIPPER variants + experiment runner) 2026-06-25 17:35:57 +02:00
run_all_experiments.py Restore missing core source files (RIPPER variants + experiment runner) 2026-06-25 17:35:57 +02:00
supplementary_diagnostics.py Document supplementary diagnostics script and tidy repo 2026-06-24 12:54:20 +02:00

README

Reference code for the ontology-guided RIPPER experiments. It runs entirely from the bundled Excel dataset (excels/non_dummy_columns_df_less_classes.xlsx) — no database connection is needed.

How to run

Activate a python env and install deps

python -m venv .venv (I used python version 3.13.3) source ./.venv/Scripts/activate pip install -r requirements.txt

Run all experiments

python run_all_experiments.py or when wanting to re run everything from scratch python run_all_experiments.py --fresh

(The Weka JRip baseline additionally needs a Java runtime; it is skipped automatically if java/weka.jar are unavailable.)

Further info

  • ./results holds all saved data behind the figures, including the learned rules.
  • the results that were used are in the subfolder /pooled (pooled over the 5 folds).
  • supplementary_diagnostics.py reproduces the secondary analyses referenced in the Discussion (extreme-lambda behaviour and the combined grow+prune+MDL variant). These are exploratory, single-repeat checks and are not part of the primary study.