Skip to main content

Set Edges

@validate_call
def set_edges(edges: list[tuple[str, str]]) -> None

Set the edges of the model.

Arguments:

  • edges list[tuple[str, str]] - A list of tuples representing edges.

Example:

model.set_edges([ ... ("SaturatedFatsInDiet", "Weight"), ... ("Weight", "BMI"), ... ])