Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Multiple parents for same data point in XY graph #31

Open

Description

@v-i-s-h

The XY graph for capturing the relationship with parents and child data points are really helpful. But most of the time, we create a new child node by combining two (or more) parent nodes. In the current version, I can see

Multiple points can share the same parent.

Is it possible to include multiple parents to the same child so that the "family tree" can be traced during the experiment?

Activity

  1. jrapin commented on Feb 19, 2020

    @jrapin

    For now it's not possible, but I would definitely be interested in it too :D

  2. danthe3rd commented on Feb 19, 2020

    @danthe3rd
    Contributor

    Hi,

    It's indeed something we are interested in doing for future versions. My only worry is about readability. If each point has 2 parents, the whole ancestors tree can contain thousands of points in the early generations, which will make the plot hard to read. So there are several ways to do it:

    • either highlight all the ancestors
    • highlight the most recent N ancestors (but we have to hardcode a limit N somewhere)
    • only highlight direct parents if there is more than one parent

    For your use-case, how many datapoints do you have typically, over how many generations?

    Thank you for the suggestion :)

  3. v-i-s-h commented on Feb 20, 2020

    @v-i-s-h
    Author

    Hi @danthe3rd
    My experiments are on NeuroEvolution and relatively small, up to 64 generations and population ranging from 32 - 128 candidates. And this could be an interesting tool to analyze one experiment at a time also.

    As you rightly pointed out, if all ancestors are highlighted, readability may be an issue. Right now, the highlighting is done as a thick line. What if, with multiple parents, the highlighting it still thick, but as the distance in X-axis increases, the alpha-factor (opacity) is reduced? This way, the immediate parents can be easily visualized and far away ancestors are highlighted with less visual clutter?

  4. danthe3rd commented on Feb 20, 2020

    @danthe3rd
    Contributor

    Oh that sounds like a good solution!
    More generically (because the X axis can be arbitrary, and not always increasing), we could divide the alpha factor by the number of parents (or a function of it) - which would preserve the current behavior for cases with 1 parent or less.
    I'll give it a try in the coming weeks and let you know later :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions