\begin{algorithm}
\caption{getNextStage(candidates, k)}\label{alg:te2rules_stagek}
\begin{algorithmic}

\State $newCandidates \gets []$  
\\
\For{$r_1 \gets candidates$}   
    \For{$r_2 \gets candidates$}   
        \State $nodes_1 = r_1.sourceNodes$
        \State $nodes_2 = r_2.sourceNodes$
        \If{$|nodes_1 \cap nodes_2| = k - 2$}
            \State $r \gets r_1 \& r_2$
            \State $r.sourceNodes \gets n_1 \cup n_2$
            \If{$|r.support| > \epsilon$}
                \State $candidates.append(r)$
            \EndIf
        \EndIf
    \EndFor
    \EndFor
\\
\Return $newCandidates$
\end{algorithmic}
\end{algorithm}

\begin{algorithm}
\caption{getNextStage(candidates, k)}\begin{algorithmic}
\State $newCandidates \gets []$
\\
\For{$r_1 \gets candidates$}
\For{$r_2 \gets candidates$}
\State $nodes_1 = r_1.sourceNodes$
\State $nodes_2 = r_2.sourceNodes$
\If{$|nodes_1 \cap nodes_2| = k - 2$}
\State $r \gets r_1 \& r_2$
\State $r.sourceNodes \gets n_1 \cup n_2$
\If{$|r.support| > \epsilon$}
\State $candidates.append(r)$
\EndIf
\EndIf
\EndFor
\EndFor
\\
\Return $newCandidates$
\end{algorithmic}
\end{algorithm}
{
    "title": "te2rules: explaining tree ensembles using rules",
    "id": "2206.14359",
    "abstract": "tree ensemble (te) models, such as gradient boosted trees, often achieve optimal performance on tabular datasets, yet their lack of transparency poses challenges for comprehending their decision logic. this paper introduces te2rules (tree ensemble to rules), a novel approach for explaining binary classification tree ensemble models through a list of rules, particularly focusing on explaining the minority class. many state-of-the-art explainers struggle with minority class explanations, making te2rules valuable in such cases. the rules generated by te2rules closely approximate the original model, ensuring high fidelity, providing an accurate and interpretable means to understand decision-making. experimental results demonstrate that te2rules scales effectively to tree ensembles with hundreds of trees, achieving higher fidelity within runtimes comparable to baselines. te2rules allows for a trade-off between runtime and fidelity, enhancing its practical applicability. the implementation is available here: https://github.com/linkedin/te2rules.",
    "categories": "cs.lg cs.ai",
    "doi": "",
    "created": "2022-06-28",
    "updated": "2024-01-23",
    "authors": [
        "g roshan lal",
        "xiaotong chen",
        "varun mithal"
    ],
    "affiliation": [],
    "url": "https://arxiv.org/abs/2206.14359"
}
{
    "ToxicityFilter": {
        "text_to_toxicity_attributes": {
            "checklist.tex": {
                "toxicity_score": 0.007288316,
                "severe_toxicity_score": 0.00079631805,
                "identity_attack_score": 0.0020811295,
                "insult_score": 0.00654387,
                "profanity_score": 0.012995303,
                "threat_score": 0.006712203,
                "sexually_explicit_score": 0.009849187,
                "flirtation_score": 0.18074825
            },
            "main.tex": {
                "toxicity_score": 0.012063419,
                "severe_toxicity_score": 0.0011825562,
                "identity_attack_score": 0.00362579,
                "insult_score": 0.0075888764,
                "profanity_score": 0.015591404,
                "threat_score": 0.0076507707,
                "sexually_explicit_score": 0.014449406,
                "flirtation_score": 0.4688245
            },
            "method.tex": {
                "toxicity_score": 0.012314741,
                "severe_toxicity_score": 0.0014591217,
                "identity_attack_score": 0.00414376,
                "insult_score": 0.0077408776,
                "profanity_score": 0.015932998,
                "threat_score": 0.008065036,
                "sexually_explicit_score": 0.014685315,
                "flirtation_score": 0.17910686
            },
            "introduction.tex": {
                "toxicity_score": 0.006942749,
                "severe_toxicity_score": 0.0007390976,
                "identity_attack_score": 0.0022753682,
                "insult_score": 0.0064488696,
                "profanity_score": 0.012687869,
                "threat_score": 0.0066798385,
                "sexually_explicit_score": 0.009554301,
                "flirtation_score": 0.2300378
            },
            "main.bbl": {
                "toxicity_score": 0.01218908,
                "severe_toxicity_score": 0.0011348724,
                "identity_attack_score": 0.003921773,
                "insult_score": 0.007607877,
                "profanity_score": 0.014634945,
                "threat_score": 0.0074824756,
                "sexually_explicit_score": 0.011323617,
                "flirtation_score": 0.2033491
            },
            "related.tex": {
                "toxicity_score": 0.0074453913,
                "severe_toxicity_score": 0.0007200241,
                "identity_attack_score": 0.0024973555,
                "insult_score": 0.0065818704,
                "profanity_score": 0.01265371,
                "threat_score": 0.006699257,
                "sexually_explicit_score": 0.009023507,
                "flirtation_score": 0.2352925
            },
            "results.tex": {
                "toxicity_score": 0.021432023,
                "severe_toxicity_score": 0.0019454956,
                "identity_attack_score": 0.005105704,
                "insult_score": 0.0096028885,
                "profanity_score": 0.018529098,
                "threat_score": 0.008686432,
                "sexually_explicit_score": 0.017457243,
                "flirtation_score": 0.19775106
            },
            "problem.tex": {
                "toxicity_score": 0.009927189,
                "severe_toxicity_score": 0.0008058548,
                "identity_attack_score": 0.0028673338,
                "insult_score": 0.007132874,
                "profanity_score": 0.012961143,
                "threat_score": 0.0069905366,
                "sexually_explicit_score": 0.007961918,
                "flirtation_score": 0.19516823
            },
            "appendix.tex": {
                "toxicity_score": 0.008859074,
                "severe_toxicity_score": 0.001077652,
                "identity_attack_score": 0.002626848,
                "insult_score": 0.0067433715,
                "profanity_score": 0.014669105,
                "threat_score": 0.0071070488,
                "sexually_explicit_score": 0.012680092,
                "flirtation_score": 0.21909615
            },
            "conclusion.tex": {
                "toxicity_score": 0.008921904,
                "severe_toxicity_score": 0.000705719,
                "identity_attack_score": 0.0020811295,
                "insult_score": 0.006885872,
                "profanity_score": 0.012687869,
                "threat_score": 0.0067186756,
                "sexually_explicit_score": 0.009023507,
                "flirtation_score": 0.26385543
            },
            "aaai24.bst": {
                "toxicity_score": 0.016712861,
                "severe_toxicity_score": 0.0015354156,
                "identity_attack_score": 0.0039402717,
                "insult_score": 0.009165886,
                "profanity_score": 0.018324144,
                "threat_score": 0.0075083673,
                "sexually_explicit_score": 0.015805881,
                "flirtation_score": 0.40847883
            },
            "main.bib": {
                "toxicity_score": 0.0070369947,
                "severe_toxicity_score": 0.0010967255,
                "identity_attack_score": 0.0013504218,
                "insult_score": 0.0066388706,
                "profanity_score": 0.012961143,
                "threat_score": 0.006051969,
                "sexually_explicit_score": 0.010379982,
                "flirtation_score": 0.21000691
            },
            "abstract.tex": {
                "toxicity_score": 0.012691722,
                "severe_toxicity_score": 0.0012874603,
                "identity_attack_score": 0.0036812867,
                "insult_score": 0.007892879,
                "profanity_score": 0.01535229,
                "threat_score": 0.007689608,
                "sexually_explicit_score": 0.012621114,
                "flirtation_score": 0.19561295
            },
            "aaai24.sty": {
                "toxicity_score": 0.004837934,
                "severe_toxicity_score": 0.0011110306,
                "identity_attack_score": 0.00069833454,
                "insult_score": 0.0057743657,
                "profanity_score": 0.015079016,
                "threat_score": 0.0055859215,
                "sexually_explicit_score": 0.018164968,
                "flirtation_score": 0.38160232
            }
        },
        "reason": null
    }
}
{
    "num_done": {
        "figure": 0,
        "algorithm": 3
    }
}
{
    "NonTrivialRenderingFilter": {
        "white_pixels_ratio": 94.70896211887897,
        "hash": "001f0f8f8f8f3f1f",
        "most_frequent_color_ratio": 94.70896211887897
    }
}