1. Tubelator AI
  2. >
  3. Videos
  4. >
  5. Film & Animation
  6. >
  7. (Spectral; Fall 23) 28 - How graph labeling naturally connects with distance matrices

(Spectral; Fall 23) 28 - How graph labeling naturally connects with distance matrices

Available In Following Subtitles
English
Variant 1
Posted on:
Course site: https://www.stevebutler.org/spectral2023 Presenter: https://www.stevebutler.org/ We continue the discussion on distance matrices and the graph labeling problem and show how these are naturally connected to one another.
tubelator logo

Instantly generate YouTube summary, transcript and subtitles!

chrome-icon Install Tubelator On Chrome

Video Summary & Chapters

No chapters for this video generated yet.

Video Transcript

0:01
Paw graph, here we go.
0:07
So, as I draw the paw graph,
0:13
and I'll use green to number these vertices,
0:21
and I don't know why I chose zero, one, two, three,
0:23
but okay, somebody who spends too much time programming.
0:27
And we'll do the distance matrix.
0:35
Okay.
0:40
And we're really lucky we can even get the distance on our first try.
0:52
And that's not too bad. So there's our distance matrix.
0:56
Okay, so does anybody have a nice labeling in mind for our paw graph?
1:05
This one turns out not to be too bad.
1:08
In fact, I claim you can do it with length 2.
1:16
All right, so you said 00, 01.
1:22
Maybe you can't do length 2, but you can do it length 3 for sure.
1:31
Well, you can make this one a 11.
1:37
I think maybe we need length 3.
1:41
All right, apparently we definitely can't do it in 2, but that's all right.
1:46
D, D, 0, 1.
1:50
There we go.
1:51
All right, good.
1:52
Three is good.
1:53
Three is better than two.
1:56
Now.
1:57
Two is better than four.
2:00
Oh, we're doing an induction argument.
2:02
Okay.
2:04
Well, so here's the idea.
2:07
I want to show how a labeling relates to the distance matrix.
2:11
And the way we'll do it is we're just going to grab one entry at a time.
2:18
So let's go to all the first entries.
2:21
And we're going to make a little matrix that corresponds to our first entries.
2:28
And just to help us, I'm going to use the actual labels.
2:34
I'll put them on the side.
2:38
0011, 0011.
2:42
Now, think about the labeling problem.
2:46
When do we get a contribution to a distance between two labels?
2:58
Well, there has to be no D and.
3:00
And they're different.
3:01
And they're different, right?
3:03
So what you can do is you compare the label on the row
3:07
to the label on the column.
3:09
So if one of them is zero and the other is one,
3:12
or vice versa, then in terms of the distance in the graph,
3:16
that means you would increase that by one.
3:20
So what we'll do is we'll do that here.
3:22
So we say, well, it's not gonna be very exciting,
3:25
but I can think about how the first index
3:34
is affecting the distance between labels.
3:37
All right, so that's what we have there.
3:42
Now, what's the second thing we should look at?
shape-icon

Download extension to view full transcript.

chrome-icon Install Tubelator On Chrome

YouTube First AI Assistant

chrome-icon Install On Chrome

AI Art For This Video No image generated for this video yet but here is the example.

ai art
0:09
Prompt
spider man in aladdin style, bright colors, hyper quality, high detail, high resolution, --video --s 750 --v 6. 0 --ar 1:2
ai images

Explore more in Film & Animation

More videos from 27500sr