{"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/towards-robust-classification-with-deep","title":"Towards Robust Classification with Deep Generative Forests","arxiv_id":"2007.05721","date":"2020-07-11","proceeding":null,"authors":["Alvaro H. C. Correia","Robert Peharz","Cassio de Campos"],"abstract":"Decision Trees and Random Forests are among the most widely used machine learning models, and often achieve state-of-the-art performance in tabular, domain-agnostic datasets. Nonetheless, being primarily discriminative models they lack principled methods to manipulate the uncertainty of predictions. In this paper, we exploit Generative Forests (GeFs), a recent class of deep probabilistic models that addresses these issues by extending Random Forests to generative models representing the full joint distribution over the feature space. We demonstrate that GeFs are uncertainty-aware classifiers, capable of measuring the robustness of each prediction as well as detecting out-of-distribution samples.","url_abs":"https://arxiv.org/abs/2007.05721v1","url_pdf":"https://arxiv.org/pdf/2007.05721v1.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":"abstracts"},"code_links":[{"paper_slug":"towards-robust-classification-with-deep","repo_url":"https://github.com/AlCorreia/GeFs","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"machine-learning","task_name":"BIG-bench Machine Learning"},{"task_slug":"classification-1","task_name":"Classification"},{"task_slug":"classification","task_name":"General Classification"},{"task_slug":"robust-classification","task_name":"Robust classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2007.05721","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.05721"}},"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/AlCorreia/GeFs","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":25},"by_repo_kind":{"official":{"samples":25,"ran":0,"repositories":1}},"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":"18680f3973a2a2df","entry":"Leaf","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/nodes.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/nodes.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"18680f3973a2a2df"}},{"code_sha256_prefix":"4d7702c9f7355db1","entry":"ProdNode","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/nodes.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/nodes.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4d7702c9f7355db1"}},{"code_sha256_prefix":"ef47e92e90a4cb90","entry":"SumNode","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/nodes.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/nodes.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ef47e92e90a4cb90"}},{"code_sha256_prefix":"cfe4c67d4efa910e","entry":"add_node","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/learning.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/learning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cfe4c67d4efa910e"}},{"code_sha256_prefix":"cf0b1af1b7139f55","entry":"add_prodnode","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/learning.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/learning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cf0b1af1b7139f55"}},{"code_sha256_prefix":"58b7f952cc8ba9bd","entry":"bincount","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/split.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/split.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"58b7f952cc8ba9bd"}},{"code_sha256_prefix":"498d492d37875d9a","entry":"calc_inbag","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/sklearn_utils.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/sklearn_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"498d492d37875d9a"}},{"code_sha256_prefix":"41ab67d70fb1d915","entry":"calc_outofbag","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/sklearn_utils.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/sklearn_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"41ab67d70fb1d915"}},{"code_sha256_prefix":"1f4f7b7d0b18ad1a","entry":"chdtrc","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/statsutils.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/statsutils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1f4f7b7d0b18ad1a"}},{"code_sha256_prefix":"f0903cda1a853f9f","entry":"cluster","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/cluster.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/cluster.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f0903cda1a853f9f"}},{"code_sha256_prefix":"e4dfc5307cff9624","entry":"evaluate","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/trees.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/trees.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e4dfc5307cff9624"}},{"code_sha256_prefix":"fc19aad5d4a58f55","entry":"evaluate_instance","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/trees.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/trees.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fc19aad5d4a58f55"}},{"code_sha256_prefix":"e9e0d52c893cf2bb","entry":"fit","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/learning.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/learning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e9e0d52c893cf2bb"}},{"code_sha256_prefix":"6f9a3fa8bb5e3800","entry":"get_distance","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/cluster.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/cluster.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6f9a3fa8bb5e3800"}},{"code_sha256_prefix":"22dfc10f1898c675","entry":"gini","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/split.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/split.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"22dfc10f1898c675"}},{"code_sha256_prefix":"73f415a9d6a912c8","entry":"in1d_scal_nb","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/utils.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"73f415a9d6a912c8"}},{"code_sha256_prefix":"50e658133f99d462","entry":"in1d_vec_nb","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/utils.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"50e658133f99d462"}},{"code_sha256_prefix":"20c8877af4c4f7ad","entry":"kruskal","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/statsutils.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/statsutils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"20c8877af4c4f7ad"}},{"code_sha256_prefix":"e4c4de66b03f27f1","entry":"nan_to_num","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/cluster.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/cluster.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e4c4de66b03f27f1"}},{"code_sha256_prefix":"90701f302c52610e","entry":"random_split","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/split.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/split.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"90701f302c52610e"}},{"code_sha256_prefix":"14440f4a552431c2","entry":"resample_strat","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/utils.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"14440f4a552431c2"}},{"code_sha256_prefix":"c6bc9b119c7f3221","entry":"signed_join","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/signed.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/signed.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c6bc9b119c7f3221"}},{"code_sha256_prefix":"65247f439343b294","entry":"signed_prod","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/signed.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/signed.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"65247f439343b294"}},{"code_sha256_prefix":"879ba1caf1941441","entry":"signed_sum_vec","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/signed.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/signed.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"879ba1caf1941441"}},{"code_sha256_prefix":"50cbc307689e6b0f","entry":"vec_chdtrc","repo":"AlCorreia/GeFs","repo_kind":"official","path":"gefs/statsutils.py","file_url":"https://github.com/AlCorreia/GeFs/blob/HEAD/gefs/statsutils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"50cbc307689e6b0f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}