Breeze is a library for numerical processing. It aims to be generic, clean, and powerful without sacrificing (much) efficiency.
The current snapshot version is 0.13-0598e003cfa7f00f76919aa556009ad6d4fc1332. The latest release is 0.12, which is cross-built against Scala 2.10.x and 2.11.x.
- https://github.com/scalanlp/breeze/wiki/Quickstart
- https://github.com/scalanlp/breeze/wiki/Linear-Algebra-Cheat-Sheet
- Scaladoc (Scaladoc is typically horribly out of date, and not a good way to learn Breeze.)
- There is also the scala-breeze google group for general questions and discussion.
This project can be built with SBT 0.13.x.
For SBT 0.13.x and last stable release 0.12, add these lines to your SBT project definition:
libraryDependencies ++= Seq(
// Last stable release
"org.scalanlp" %% "breeze" % "0.12",
// Native libraries are not included by default. add this if you want them (as of 0.7)
// Native libraries greatly improve performance, but increase jar sizes.
// It also packages various blas implementations, which have licenses that may or may not
// be compatible with the Apache License. No GPL code, as best I know.
"org.scalanlp" %% "breeze-natives" % "0.12",
// The visualization library is distributed separately as well.
// It depends on LGPL code
"org.scalanlp" %% "breeze-viz" % "0.12"
)
resolvers += "Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/"
For SBT 0.13.x and last snapshot (currently 0.13-0598e003cfa7f00f76919aa556009ad6d4fc1332-SNAPSHOT), add these lines to your SBT project definition:
libraryDependencies ++= Seq(
// Last snapshot
"org.scalanlp" %% "breeze" % "latest.integration",
// Native libraries are not included by default. add this if you want them (as of 0.7)
// Native libraries greatly improve performance, but increase jar sizes.
// It also packages various blas implementations, which have licenses that may or may not
// be compatible with the Apache License. No GPL code, as best I know.
"org.scalanlp" %% "breeze-natives" % "0.12",
// The visualization library is distributed separately as well.
// It depends on LGPL code.
"org.scalanlp" %% "breeze-viz" % "0.12"
)
resolvers += "Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
For more details on the optional breeze-natives
module, please watch Sam Halliday's talk at Scala eXchange 2014 High Performance Linear Algebra in Scala (follow along with high-res slides).
Maven looks like this:
<dependency>
<groupId>org.scalanlp</groupId>
<artifactId>breeze_2.10</artifactId> <!-- or 2.11 -->
<version>0.12</version>
</dependency>
http://mvnrepository.com/artifact/org.scalanlp/breeze_2.10/0.12 (as an example) is a great resource for finding other configuration examples for other build tools.
See documentation (linked above!) for more information on using Breeze.
Breeze is the merger of the ScalaNLP and Scalala projects, because one of the original maintainers is unable to continue development. The Scalala parts are largely rewritten.
(c) David Hall, 2009 -
Portions (c) Daniel Ramage, 2009 - 2011
Contributions from:
- Jason Zaugg (@retronym)
- Alexander Lehmann (@afwlehmann)
- Jonathan Merritt (@lancelet)
- Keith Stevens (@fozziethebeat)
- Jason Baldridge (@jasonbaldridge)
- Timothy Hunter (@tjhunter)
- Dave DeCaprio (@DaveDeCaprio)
- Daniel Duckworth (@duckworthd)
- Eric Christiansen (@emchristiansen)
- Marc Millstone (@splittingfield)
- Mérő László (@laci37)
- Alexey Noskov (@alno)
- Devon Bryant (@devonbryant)
- Kentaroh Takagaki (@ktakagaki)
- Sam Halliday (@fommil)
- Chris Stucchio (@stucchio)
- Xiangrui Meng (@mengxr)
- Gabriel Schubiner (@gabeos)
- Debasish Das (@debasish83)
- Julien Dumazert (@DumazertJulien)
- Matthias Langer (@bashimao)
Corporate (Code) Contributors:
- Semantic Machines (@semanticmachines)
- ContentSquare
- Big Data Analytics, Verizon Lab, Palo Alto
- crealytics GmbH, Berlin/Passau, Germany
And others (contact David Hall if you've contributed and aren't listed).