57 Matching Annotations
  1. Last 7 days
    1. │ ├── links/0/<i.j.k> # intra-level link rows (delta=0)

      we had a conversation about whether or not to allow for multiple links, possibly with different cardinality

    2. │ ├── links/+1/<i.j.k> # optional: fine→coarse pyramid edges │ │ # (only when cross_level_storage != "none")

      this might be semantics but somehow it feels odd having links for pyramid coarsening and those for say mesh faces living in the same namespace

    1. 9.2 Downsampling Strategies

      i wonder about writing down in pseudo-code what a reader has to do here, e.g. coming from an object query, how it finds what spatial chunks/fragments, order of the different range requests etc.

  2. Jan 2024
  3. May 2022
    1. Edge-wise Properties

      i guess i fundamentally didnt understand what you were doing with these two kernels. i thought it was the l1 and l2 of the adjacency matrices elementwise

  4. Mar 2022
    1. ASE and LSE each captured a different, but still true, truth about the underlying network. { requestKernel: true, binderOptions: { repo: "binder-examples/jupyter-stacks-datascience", ref: "master", }, codeMirrorConfig: { theme: "abcdef", mode: "python" }, kernelOptions: { kernelName: "python3", path: "./representations/ch6" }, predefinedOutput: true } kernelName = 'python3'

      i would use a different color map for core periphery

    1. Discriminability Plot¶
      • can you do sns.set_context('talk') before making your plots?
      • can we add a random discriminability column? I think we could literally make a random matrix or a flat matrix as the dissimilarity and run it through discriminability. I would expect it to be around 0.25? but we should check, I might be wrong. whatever matrix we use lets keep the diagonal set to 0.
  5. Nov 2021
    1. 𝐻𝑘𝑙0:𝑏𝑙𝑒𝑓𝑡,𝑘𝑙=𝑏𝑟𝑖𝑔ℎ𝑡,𝑘𝑙,𝐻𝑘𝑙𝐴:𝑏𝑙𝑒𝑓𝑡,𝑘𝑙≠𝑏𝑟𝑖𝑔ℎ𝑡,𝑘𝑙

      bad notation

    Annotators

  6. May 2021
    1. Plot the network split out by left/right¶

      I don't like the way this looks currently, kinda overemphasizes the contralateral connections because they by definition end up longer

    1. Again the lowest -BIC for each developmental stage is set to 0, allowing for easy comparison.

      i really don't like putting BIC for different datasets on the same set of axes, even when setting the min to 0 these are not comparable

    2. The lowest -BIC is set to 0, since the scale doesn’t really matter here.

      in some sense, sure, but if the data changes, no longer true. I find this a bit misleading

    1. Drosophila Hemibrain Connectome

      we may want to restrict to neurons, not just all fragments. that is why the number of nodes is quite high, I was expecting ~25,000

    2. for i in range(len(layouts)):

      we should figure out a way do do a consistent layout between timepoints (a fine way may just be get node positions by embedding the average over time points, and then plotting edges for each graph. there are also aligned-umap approaches).

    3. data = {'Number of Nodes': [], 'Number of Edges': [], 'Density': [], 'Max Out Degree': [], 'Max In Degree': []} num_nodes = len(connectome.nodes) data['Number of Nodes'].append(num_nodes) num_edges = len(connectome.edges) data['Number of Edges'].append(num_edges) data['Density'].append(num_edges / (num_nodes * (num_nodes - 1))) data['Max Out Degree'].append(max(connectome.out_degree, key=lambda x: x[1])[1]) data['Max In Degree'].append(max(connectome.in_degree, key=lambda x: x[1])[1]) df = pd.DataFrame.from_dict(data) df.index = ['Ciona Intestinalis',] df.head()

      something like this needs to be a function because it is used in many places in this notebook

    4. connectome.to_undirected()

      to_undirected() randomly selects one of the edges (to or from) to be the new edge weight, which is basically never what we want

    5. side_map = {'L': '#FF0000', 'DL': '#B22222', 'VL': '#F08080', 'R': '#0000FF', 'DR': '#00008B', 'VR': '#87CEEB', 'DM': '#800080', 'D': '#800080', 'VM': '#BA55D3', None: '#A9A9A9'}

      this color map needs to be stored in a central location in the repo and consistent between notebooks

  7. Apr 2021
    1. Recreate fig 4 from FAQ Paper¶

      I vote add a shaded background above and below zero for this figure with different colors, and text that says (GM better/GOAT better)

  8. Mar 2021
    1. Matching objective function: 6229.611251407659 # collapse dataset2_intra_matched = dataset2_intra[perm_inds][:, perm_inds][: len(dataset1_ids)] dataset2_meta_matched = dataset2_meta.iloc[perm_inds][: len(dataset1_ids)]

      this indicates that the matching when using the lineage annotations as a soft prior (at least the way we are doing it) isn't much better than the 6227 we got for the uninformed method

    1. Graph matching methods figure (I don’t think these results from Youngser/Carey ever went to a paper anywhere? so I assume CEP would be okay with them here? And we should be able to replicate/improve in python now.)

      maybe we should have a version of Ali's GM score figure here

    1. Create a color palette by department/institute

      thoughts on using most of the color wheel for depts at hopkins, and then reserving a few colors for the external partners? or even just one distinct color?

    1. Plot the alignment for d=7 dimensions¶

      not sure what it means here that the seedless procrustes one looks somewhat better to me than the orthogonal procrustes. does this suggest that some of the pairs might be pretty wrong (at least from a graph point of view)?

  9. Jan 2021
    1. Graph matching methods figure (I don’t think these results from Youngser/Carey ever went to a paper anywhere? so I assume CEP would be okay with them here? And we should be able to replicate/improve in python now.)

      carey is doing something on this - we should talk to him about it

    2. A posteriori modeling

      i am not sure what to show here as a lot of this will be in the main paper - perhaps if we figure out the model complexity stuff it'd be interesting?

  10. Dec 2020
    1. Discriminability

      Could run this on the full data. Compute similar metrics to what I normally do on the full data clustering, like

      • how similar is one side to the other
      • can compute DCSBM likelihood
    2. Discriminability plotted as a function of stage 1 and stage 2 dimension

      there's a bug in this cell, the cosine/morphology results look just like the euclidean (have since fixed)