Skip to content

Commit

Permalink
Dependencies: Update scala-library from 2.13.10 to 2.13.12 (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexklibisz-scala-steward[bot] authored Nov 19, 2023
1 parent 9369850 commit fadce3f
Show file tree
Hide file tree
Showing 8 changed files with 742 additions and 738 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ElasticsearchPluginPlugin.autoImport._

Global / scalaVersion := "2.13.10"
Global / scalaVersion := "2.13.12"

lazy val CirceVersion = "0.14.3"
lazy val ElasticsearchVersion = "8.11.1"
Expand Down
1,454 changes: 729 additions & 725 deletions docs/pages/performance/fashion-mnist/plot.b64

Large diffs are not rendered by default.

Binary file modified docs/pages/performance/fashion-mnist/plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions docs/pages/performance/fashion-mnist/results.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
|Model|Parameters|Recall|Queries per Second|
|---|---|---|---|
|eknn-l2lsh|L=100 k=4 w=1024 candidates=500 probes=0|0.378|339.912|
|eknn-l2lsh|L=100 k=4 w=1024 candidates=1000 probes=0|0.447|286.272|
|eknn-l2lsh|L=100 k=4 w=1024 candidates=500 probes=3|0.634|271.791|
|eknn-l2lsh|L=100 k=4 w=1024 candidates=1000 probes=3|0.716|234.135|
|eknn-l2lsh|L=100 k=4 w=2048 candidates=500 probes=0|0.767|277.985|
|eknn-l2lsh|L=100 k=4 w=2048 candidates=1000 probes=0|0.847|245.198|
|eknn-l2lsh|L=100 k=4 w=2048 candidates=500 probes=3|0.921|183.313|
|eknn-l2lsh|L=100 k=4 w=2048 candidates=1000 probes=3|0.960|166.684|
|eknn-l2lsh|L=100 k=4 w=1024 candidates=500 probes=0|0.378|351.096|
|eknn-l2lsh|L=100 k=4 w=1024 candidates=1000 probes=0|0.447|291.666|
|eknn-l2lsh|L=100 k=4 w=1024 candidates=500 probes=3|0.634|277.702|
|eknn-l2lsh|L=100 k=4 w=1024 candidates=1000 probes=3|0.716|238.914|
|eknn-l2lsh|L=100 k=4 w=2048 candidates=500 probes=0|0.767|288.441|
|eknn-l2lsh|L=100 k=4 w=2048 candidates=1000 probes=0|0.847|246.201|
|eknn-l2lsh|L=100 k=4 w=2048 candidates=500 probes=3|0.922|192.499|
|eknn-l2lsh|L=100 k=4 w=2048 candidates=1000 probes=3|0.960|177.009|
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import scala.util.Random

class L2LshSuite extends AnyFunSuite with Matchers {

implicit val rng = new Random(0)
implicit val rng: Random = new Random(0)

test("produces exactly L hashes with probes = 0") {
val vec = Vec.DenseFloat.random(10)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PanamaFloatVectorOpsSpec extends AnyFreeSpec with Matchers {
private val dfvo = new DefaultFloatVectorOps
private val pfvo = new PanamaFloatVectorOps
private val seed = System.currentTimeMillis()
private implicit val rng = new Random(seed)
private implicit val rng: Random = new Random(seed)
info(s"Testing with seed $seed")

private def compare(f1: Double, f2: Double) = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import scala.util.Random

class CloseIndexRegressionSuite extends AsyncFunSuite with Matchers with ElasticAsyncClient {

implicit val rng = new Random(0)
implicit val rng: Random = new Random(0)

test("close index without elastiknn setting") {
val index = "issue-215-close-no-elastiknn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ExactSimilarityFunctionSuite extends AnyFunSpec with Matchers {
private val reps = 1000
private val tol = 1e-7
private val seed = System.currentTimeMillis()
private implicit val rng = new Random(seed)
private implicit val rng: Random = new Random(seed)
info(s"Testing with seed $seed")

describe("L2 Similarity") {
Expand Down

0 comments on commit fadce3f

Please sign in to comment.