dragonfly-ai / slash

Linear Algebra and Statistics library for Scala.js, JVM, and Native.
https://dragonfly-ai.github.io/slash/
Apache License 2.0
25 stars 4 forks source link

Which is the right version to use? #18

Open willowell opened 1 year ago

willowell commented 1 year ago

Hello!

I'm interested in trying out SLASH, but I'm confused what the current version is - on Scaladex, I see 0.1 is the most recent version (https://index.scala-lang.org/dragonfly-ai/slash) but I see 0.101 on main (https://github.com/dragonfly-ai/slash/blob/97d314c91fd57c47456edae88d6e8feb7181ef7d/build.sbt#L13) and on Scaladex under the old vector name (https://index.scala-lang.org/dragonfly-ai/slash/artifacts/vector?pre-releases=true).

Which one should I use?

Thank you!

Quafadas commented 1 year ago

@willowell

Hi, I'd recommend 0.1, it's the latest.

The docs should also point you at 0.1. I believe that line of code, to be outdated. Versioning is governed by the latest tag (you could track them if you wish), functionality provided courtesy of the excellent sbt-typelevel project.

Do post up in discussions how you get on. Feedback - good or bad, is welcome.

Quafadas commented 1 year ago

@dragonfly-ai

hey, for now, we disabled MIMA, and the appVersion line appears potentially confusing. If you agree, I'll put up a PR to move the tlBaseVersion to 0.1, and remove the appVersion attribute, which I think I would agree, is potentially confusing.

This is all governed by tags now and until if / when MIMA gets enabled, it's a no-op anyayz...

dragonfly-ai commented 11 months ago

As of today, 0.2 is the best version to use.

It will require some refactoring, though, because every reference to ai.dragonfly.math has shortened to slash. Also if you used any mutable vector operations, they now return Unit instead of this.

Less significantly, the stream.{Beta, Binomial, Gaussian, LogNormal, Poisson} estimators no longer make any attempt toward concurrency safety. Please feel free to wrap these with a concurrency model of your choice.