def main(num_permutations, color, output_name) -> None:
    # Write the image of the conditional independence example to file
    utils.create_graph_image(graph=EXAMPLE_GRAPH,
                             output_name="conditional_independence_subgraph")

    # Note the path for the output image of the permutation test.
    PERMUTATION_OUTPUT_PATH_STR = str(utils.FIGURES_DIRECTORY_PATH /
                                      output_name)

    # Create and store the results of permutation testing the implication
    # of conditional mean independence
    create_conditional_independence_testing_results(
        output_path=PERMUTATION_OUTPUT_PATH_STR,
        num_permutations=num_permutations,
        permuted_color=color,
    )
    return None
def main(output_name):
    # Write the image of the RUM graph to file
    utils.create_graph_image(graph=DECONFOUNDER_GRAPH,
                             output_name=output_name,
                             output_type="pdf")
예제 #3
0
def main(output_name):
    # Write the image of the ICLV graph to file
    utils.create_graph_image(
        graph=DISCOVERY_GRAPH, output_name=output_name, output_type="pdf"
    )
def main(output_name):
    # Write the image of the RUM graph to file
    utils.create_graph_image(graph=DRIVE_ALONE_UTILITY,
                             output_name=output_name,
                             output_type="pdf")