scala-glm


License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.github.darrenjw
ArtifactId

ArtifactId

scala-glm_2.11
Last Version

Last Version

0.3
Release Date

Release Date

Type

Type

jar
Description

Description

scala-glm
scala-glm
Project URL

Project URL

https://github.com/darrenjw/scala-glm/blob/master/README.md
Project Organization

Project Organization

com.github.darrenjw
Source Code Management

Source Code Management

https://github.com/darrenjw/scala-glm

Download scala-glm_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.darrenjw/scala-glm_2.11/ -->
<dependency>
    <groupId>com.github.darrenjw</groupId>
    <artifactId>scala-glm_2.11</artifactId>
    <version>0.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.darrenjw/scala-glm_2.11/
implementation 'com.github.darrenjw:scala-glm_2.11:0.3'
// https://jarcasting.com/artifacts/com.github.darrenjw/scala-glm_2.11/
implementation ("com.github.darrenjw:scala-glm_2.11:0.3")
'com.github.darrenjw:scala-glm_2.11:jar:0.3'
<dependency org="com.github.darrenjw" name="scala-glm_2.11" rev="0.3">
  <artifact name="scala-glm_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.darrenjw', module='scala-glm_2.11', version='0.3')
)
libraryDependencies += "com.github.darrenjw" % "scala-glm_2.11" % "0.3"
[com.github.darrenjw/scala-glm_2.11 "0.3"]

Dependencies

compile (5)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.11
org.scalanlp : breeze_2.11 jar 0.13
org.scalanlp : breeze-viz_2.11 jar 0.13
org.scalanlp : breeze-natives_2.11 jar 0.13
org.ddahl : rscala_2.11 jar 2.0.1

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 3.0.1

Project Modules

There are no modules declared in this project.

scala-glm

Scala library for regression modelling (fitting linear and generalised linear statistical models, diagnosing fit, making predictions)

Installation/Getting started

This library is simplest to use with SBT. You should install SBT before attempting to use this library.

To use the pre-built binary, add the following lines to your build.sbt:

libraryDependencies += "com.github.darrenjw" %% "scala-glm" % "0.3"

The current stable release is "0.3". Releases are cross-built for both Scala 2.11 and 2.12 and published to the central repository.

There is a giter8 template for scala-glm, so using recent versions of SBT you can create a minimal scala-glm project template with:

sbt new darrenjw/scala-glm.g8

If you just want to try out the library without setting up any kind of project, you can do so with a session like:

$ sbt
> set scalaVersion := "2.12.1"
> set libraryDependencies += "com.github.darrenjw" %% "scala-glm" % "0.3"
> console
scala> import scalaglm._

See below for documentation links.

This library has a dependence on Breeze, so if you have a dependence on scala-glm you don't need to add an additional dependence on Breeze. Some familiarity with Breeze is assumed for effective use of this library.

Latest snapshot

If you want to use the latest snapshot, add the following to your build.sbt:

libraryDependencies += "com.github.darrenjw" %% "scala-glm" % "0.4-SNAPSHOT"
resolvers += "Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"

Building from source

If building from source, running sbt console from this directory should give a Scala REPL with a dependence on the library. Running sbt test will run all tests (but note that an R installation is required for many of the tests, which cross-check results against R). Running sbt doc will generate ScalaDoc API documentation.

Documentation

Author

This library is Copyright (C) 2017 Darren J Wilkinson, but released as open source software under an Apache 2.0 license.

Versions

Version
0.3