Dodal oznake na grafih

This commit is contained in:
2026-07-15 17:37:52 +02:00
parent 16eb2ab6ef
commit 8748910e7d
+34 -14
View File
@@ -1200,7 +1200,15 @@ Algoritmi so bili testirani na računalniku z AMD Ryzen 5 5500U procesorjem in 1
#figure(caption: [Rezultati podobnosti])[
#table(
columns: 7,
table.header([generacija], [evklidij], [dot], [cos\_sim], [cos\_sim\_var], [hamming], [levenshtein]),
table.header(
[Generacija],
[Evklidska],
[Skalarni produkt],
[Kosinusna],
[Kosinusna variacija],
[Hamming-ova],
[Levenshte-inova],
),
table.hline(),
[0], [58.835], [25.4743], [75.0422], [0.19221], [0.449075], [50.3356],
[1], [63.2906], [27.6056], [80.0648], [22.6274], [22.8889], [61.4676],
@@ -1233,12 +1241,14 @@ Algoritmi so bili testirani na računalniku z AMD Ryzen 5 5500U procesorjem in 1
legend: (position: (100% + .5em, 0%)),
height: 200pt,
width: 300pt,
lq.plot(xs, se, mark: none, label: [euclidean]),
lq.plot(xs, sd, mark: none, label: [dot]),
lq.plot(xs, scs, mark: none, label: [cos_sim]),
lq.plot(xs, scsv, mark: none, label: [cos_sim_var]),
lq.plot(xs, sh, mark: none, label: [hamming]),
lq.plot(xs, sl, mark: none, label: [levenshtein]),
xlabel: "Generacija",
ylabel: "Podobnost v %",
lq.plot(xs, se, mark: none, label: [Evklidska]),
lq.plot(xs, sd, mark: none, label: [Skalarni produkt]),
lq.plot(xs, scs, mark: none, label: [Kosinusna]),
lq.plot(xs, scsv, mark: none, label: [Kosinusna variacija]),
lq.plot(xs, sh, mark: none, label: [Hammingova]),
lq.plot(xs, sl, mark: none, label: [Levenshteinova]),
)
#pagebreak()
@@ -1247,7 +1257,15 @@ Algoritmi so bili testirani na računalniku z AMD Ryzen 5 5500U procesorjem in 1
#figure(caption: [Čas računanja podobnosti])[
#table(
columns: 7,
table.header([generation], [euclidean], [dot], [cos\_sim], [cos\_sim\_var], [hamming], [levenshtein]),
table.header(
[Generacija],
[Evklidska],
[Skalarni produkt],
[Kosinusna],
[Kosinusna variacija],
[Hamming-ova],
[Levenshte-inova],
),
table.hline(),
[0], [91], [41], [117], [181], [87], [105799],
[1], [60], [40], [78], [305], [250], [100331],
@@ -1279,12 +1297,14 @@ Algoritmi so bili testirani na računalniku z AMD Ryzen 5 5500U procesorjem in 1
height: 200pt,
width: 300pt,
ylim: (0, 350),
lq.plot(ts, te, mark: none, label: [euclidean]),
lq.plot(ts, td, mark: none, label: [dot]),
lq.plot(ts, tcs, mark: none, label: [cos_sim]),
lq.plot(ts, tcsv, mark: none, label: [cos_sim_var]),
lq.plot(ts, th, mark: none, label: [hamming]),
lq.plot(ts, tl, mark: none, label: [levenshtein]),
xlabel: "Generacija",
ylabel: "Čas v μs",
lq.plot(ts, te, mark: none, label: [Evklidska]),
lq.plot(ts, td, mark: none, label: [Skalarni produkt]),
lq.plot(ts, tcs, mark: none, label: [Kosinusna]),
lq.plot(ts, tcsv, mark: none, label: [Kosinusna variacija]),
lq.plot(ts, th, mark: none, label: [Hammingova]),
lq.plot(ts, tl, mark: none, label: [Levenshteinova]),
)
#pagebreak()