update plots to reflect epochs used

This commit is contained in:
mm 2023-05-05 02:01:51 +00:00
parent 03313d3904
commit f14481bbad
4 changed files with 6 additions and 6 deletions

View File

@ -29,13 +29,13 @@ clean:
@rm -rf output/
@rm -rf checkpoints/
compress: plots/progress_35845_sm.png plots/progress_680065_sm.png
compress: plots/progress_35845_sm.png plots/progress_136013_sm.png
plots/progress_35845_sm.png: plots/progress_35845.png
@convert -resize 33% plots/progress_35845.png plots/progress_35845_sm.png
plots/progress_680065_sm.png: plots/progress_680065.png
@convert -resize 33% plots/progress_680065.png plots/progress_680065_sm.png
plots/progress_136013_sm.png: plots/progress_136013.png
@convert -resize 33% plots/progress_136013.png plots/progress_136013_sm.png
install:
pip install -r requirements.txt

View File

@ -59,11 +59,11 @@ The approach demonstrated can be extended to other metrics or features beyond ge
After training, the model should be able to understand the similarity between cities based on their geodesic distances.
You can inspect the evaluation plots generated by the `eval.py` script to see the improvement in similarity scores before and after training.
After five epochs, the model no longer treats the terms as unrelated:
Early on in the first epoch, the model no longer treats the terms as totally unrelated:
![Evaluation plot](./plots/progress_35845_sm.png)
After ten epochs, we can see the model has learned to correlate our desired quantities:
![Evaluation plot](./plots/progress_680065_sm.png)
After one full epoch, we can see the model has learned to correlate our desired quantities:
![Evaluation plot](./plots/progress_136013_sm.png)
*The above plots are examples showing the relationship between geodesic distance and the similarity between the embedded vectors (1 = more similar), for 10,000 randomly selected pairs of US cities (re-sampled for each image).*

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 KiB