You are on page 1of 1

Training data:

1. The cat chased the mouse.


2. The dog barked at the cat.
3. Fish swim in the ocean.
4. The dog and the cat played together.
5. Cats are known for their independence.
Let's denote the dimensions as follows:

Let’s create a 3D embedding for this:


Dimension 1 (X-axis): Size
This dimension represents the size or magnitude of the word in some abstract sense. Words with
similar meanings or concepts might cluster together based on their perceived size.
Dimension 2 (Y-axis): Activity Level
This dimension represents the level of activity associated with the word. Words that denote actions or
dynamic processes might have higher values along this dimension.
Dimension 3 (Z-axis): Habitat
This dimension represents the natural habitat or environment associated with the word. Words related
to specific environments or habitats might have higher values along this dimension.

Step 1: Initialize word embeddings randomly:


"cat" = (0.2, 0.5, 0.8)
"dog" = (0.4, 0.3, 0.6)
"fish" = (0.7, 0.9, 0.2)
"mouse" = (0.1, 0.7, 0.3)
"barked" = (0.6, 0.4, 0.5)
"swim" = (0.8, 0.1, 0.9)
"played" = (0.3, 0.6, 0.4)
"together" = (0.5, 0.8, 0.7)
"known" = (0.9, 0.2, 0.3)
"independence" = (0.2, 0.3, 0.1)

You might also like