{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/measuring-approximate-functional-dependencies","title":"Measuring Approximate Functional Dependencies: a Comparative Study","arxiv_id":"2312.06296","date":"2023-12-11","proceeding":null,"authors":["Marcel Parciak","Sebastiaan Weytjens","Niel Hens","Frank Neven","Liesbet M. Peeters","Stijn Vansummeren"],"abstract":"Approximate functional dependencies (AFDs) are functional dependencies (FDs) that \"almost\" hold in a relation. While various measures have been proposed to quantify the level to which an FD holds approximately, they are difficult to compare and it is unclear which measure is preferable when one needs to discover FDs in real-world data, i.e., data that only approximately satisfies the FD. In response, this paper formally and qualitatively compares AFD measures. We obtain a formal comparison through a novel presentation of measures in terms of Shannon and logical entropy. Qualitatively, we perform a sensitivity analysis w.r.t. structural properties of input relations and quantitatively study the effectiveness of AFD measures for ranking AFDs on real world data. Based on this analysis, we give clear recommendations for the AFD measures to use in practice.","url_abs":"https://arxiv.org/abs/2312.06296v1","url_pdf":"https://arxiv.org/pdf/2312.06296v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"measuring-approximate-functional-dependencies","repo_url":"https://github.com/marcelpa/afd_comparative_study","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"measuring-approximate-functional-dependencies","repo_url":"https://github.com/UHasselt-DSI-Data-Systems-Lab/paper-afd-comparative-study","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":null},{"paper_slug":"measuring-approximate-functional-dependencies","repo_url":"https://github.com/mstrutov/desbordante","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"AGPL-3.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2312.06296","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.06296"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mstrutov/desbordante","reach":{"status":"ok","spdx":"AGPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/UHasselt-DSI-Data-Systems-Lab/paper-afd-comparative-study","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/marcelpa/afd_comparative_study","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":10,"ran_honours":3},"by_repo_kind":{"official":{"samples":13,"ran":13,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"e280965b83f79edc","entry":"assign_fds","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/synthetic_data/generator.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/synthetic_data/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e280965b83f79edc"}},{"code_sha256_prefix":"e52ea935b4e637d2","entry":"beta_skewness","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/synthetic_data/utils.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/synthetic_data/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e52ea935b4e637d2"}},{"code_sha256_prefix":"03c4f95a71a3fbc9","entry":"clean_colname","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/afd_measures/utils.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/afd_measures/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"03c4f95a71a3fbc9"}},{"code_sha256_prefix":"acb336a84922ac1f","entry":"create_skew_lookup","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/synthetic_data/utils.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/synthetic_data/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"acb336a84922ac1f"}},{"code_sha256_prefix":"3cd4d23b55e8e293","entry":"g1","repo":"UHasselt-DSI-Data-Systems-Lab/paper-afd-comparative-study","repo_kind":"official","path":"code/afd_measures/measures.py","file_url":"https://github.com/UHasselt-DSI-Data-Systems-Lab/paper-afd-comparative-study/blob/HEAD/code/afd_measures/measures.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3cd4d23b55e8e293"}},{"code_sha256_prefix":"f93d28280628c369","entry":"g1_prime","repo":"UHasselt-DSI-Data-Systems-Lab/paper-afd-comparative-study","repo_kind":"official","path":"code/afd_measures/measures.py","file_url":"https://github.com/UHasselt-DSI-Data-Systems-Lab/paper-afd-comparative-study/blob/HEAD/code/afd_measures/measures.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f93d28280628c369"}},{"code_sha256_prefix":"04dd4314a67cd3db","entry":"generate_tuples","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/synthetic_data/generator.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/synthetic_data/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"04dd4314a67cd3db"}},{"code_sha256_prefix":"ce4246afcedad2d3","entry":"get_noise_potential","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/synthetic_data/generator.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/synthetic_data/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ce4246afcedad2d3"}},{"code_sha256_prefix":"7c2473ca65d4d508","entry":"infer_column_settings","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/synthetic_data/inferrence.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/synthetic_data/inferrence.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7c2473ca65d4d508"}},{"code_sha256_prefix":"2997facb2db472b7","entry":"infer_settings","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/synthetic_data/inferrence.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/synthetic_data/inferrence.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2997facb2db472b7"}},{"code_sha256_prefix":"7e4c9257b67a30bc","entry":"is_perfect_fd","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/afd_measures/utils.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/afd_measures/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7e4c9257b67a30bc"}},{"code_sha256_prefix":"4791011a8084d08f","entry":"is_trivial_fd","repo":"marcelpa/afd_comparative_study","repo_kind":"official","path":"code/afd_measures/utils.py","file_url":"https://github.com/marcelpa/afd_comparative_study/blob/HEAD/code/afd_measures/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4791011a8084d08f"}},{"code_sha256_prefix":"ef806ce68c4507d0","entry":"rho","repo":"UHasselt-DSI-Data-Systems-Lab/paper-afd-comparative-study","repo_kind":"official","path":"code/afd_measures/measures.py","file_url":"https://github.com/UHasselt-DSI-Data-Systems-Lab/paper-afd-comparative-study/blob/HEAD/code/afd_measures/measures.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ef806ce68c4507d0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}