/breeze

Breeze is a numerical processing library for Scala.

Primary LanguageScalaApache License 2.0Apache-2.0

Breeze Build Status

Breeze is a library for numerical processing. It aims to be generic, clean, and powerful without sacrificing (much) efficiency.

The current version is 0.7-SNAPSHOT. The latest release is 0.6.1.

Documentation

Note:

Breeze used to have more components, but they are getting sharded out to different libraries. Their new homes are described below:

  • breeze-viz: a (barely maintained) visualization library in its own repository. It is available at https://github.com/scalanlp/breeze-viz.
  • breeze-learn (machine learning) is now in Nak.
  • breeze-process (natural language processing) has become Chalk.

Using Breeze

Building it yourself.

This project can be built with sbt 0.13

SBT

For SBT, Add these lines to your SBT project definition:

  • For SBT versions 0.10.x or later
libraryDependencies  ++= Seq(
            // other dependencies here
            "org.scalanlp" % "breeze_2.10" % "0.7-SNAPSHOT",
            // native libraries are not included by default. add this if you want them (as of 0.7-SNAPSHOT)
            // native libraries greatly improve performance, but increase jar sizes.
            "org.scalanlp" % "breeze-natives_2.10" % "0.7-SNAPSHOT",
)

resolvers ++= Seq(
            // other resolvers here
            // if you want to use snapshot builds (currently 0.7-SNAPSHOT), use this.
            "Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/",
            "Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/"
)

// Scala 2.9.2 is still supported for 0.2.1, but is dropped afterwards.
// Don't use an earlier version of 2.10, you will probably get weird compiler crashes.
scalaVersion := "2.10.3"

Maven

Maven looks like this:

<dependency>
  <groupId>org.scalanlp</groupId>
	<artifactId>breeze_2.10</artifactId>
	<version>0.6.1</version>
</dependency>

Other build tools

http://mvnrepository.com/artifact/org.scalanlp/breeze-math_2.10/0.6.1 (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.

History

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)

And others (contact David Hall if you've contributed code and aren't listed).