-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt.0
101 lines (80 loc) · 4.55 KB
/
build.sbt.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// Eclipse plugin
EclipseKeys.useProjectId := true
EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.ManagedClasses
EclipseKeys.executionEnvironment := Some(EclipseExecutionEnvironment.JavaSE18)
EclipseKeys.withSource := true
EclipseKeys.withJavadoc := true
EclipseKeys.withBundledScalaContainers := false
EclipseKeys.eclipseOutput := Some(".target")
name := "dl4jtest"
version := "0.1"
scalaVersion in ThisBuild := "2.12.1"
//scalaVersion := "2.12.0"
//scalaVersion := "2.11.8"
// For For ScalaTestb: add in ~/.sbt/0.13/global.sbt
// export http_proxy="http://proxy.inescn.pt:3128"
//resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases"
//resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
//resolvers += "Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
//resolvers += "mvnrepository" at "http://mvnrepository.com/artifact/"
//resolvers += "Maven Central" at "http://repo1.maven.org/maven2/"
//classpathTypes += "maven-plugin"
//libraryDependencies += "org.scala-lang" % "scala-library" % "2.12.0"
// http://alvinalexander.com/scala/how-to-use-java-style-logging-slf4j-scala
// https://github.com/typesafehub/scala-logging
libraryDependencies += "org.slf4j" % "slf4j-simple" % "1.7.21"
//libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.7"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.5.0"
// Type-level
libraryDependencies += "com.chuusai" %% "shapeless" % "2.3.2"
// ML
libraryDependencies += "com.github.haifengl" % "smile-core" % "1.2.2"
// libraryDependencies += "com.github.haifengl" % "smile-scala_2.12" % "1.2.2"
libraryDependencies += "com.github.haifengl" %% "smile-scala" % "1.2.2"
//libraryDependencies += "joinery" % "joinery-dataframe" % "1.7"
libraryDependencies += "com.github.lwhite1" % "tablesaw" % "0.7.6.4"
// Apache Common
libraryDependencies += "org.apache.commons" % "commons-math3" % "3.6.1"
libraryDependencies += "org.knowm.xchart" % "xchart" % "3.2.1"
// http://bytedeco.org/
libraryDependencies += "org.bytedeco" % "javacpp" % "1.2.4"
libraryDependencies += "org.nd4j" % "canova-api" % "0.0.0.17"
libraryDependencies += "org.nd4j" % "canova-nd4j-image" % "0.0.0.17"
// fails libraryDependencies += "org.nd4j" % "nd4j-native-platform" % "0.6.0" classifier "" classifier "linux-x86_64"
//libraryDependencies += "org.nd4j" % "nd4j-native-platform" % "0.6.0"
//libraryDependencies += "org.nd4j" % "nd4j-cuda-7.5-platform" % "0.6.0"
libraryDependencies += "org.nd4j" % "nd4j-cuda-8.0-platform" % "0.6.0"
//libraryDependencies += "org.nd4j" % "nd4j-jblas" % "0.4-rc3.6" not available
//libraryDependencies += "org.nd4j" % "nd4j-netlib-blas" % "0.4-rc3.6" not available
// TODO
// we want https://github.com/deeplearning4j/nd4s/tree/nd4s-0.6.0
// https://github.com/deeplearning4j/nd4s/issues/82
// git clone https://github.com/deeplearning4j/nd4s.git
// cd nd4s/
// git tag -l
// git checkout tags/nd4s-0.6.0
// or git checkout tags/<tag_name> -b <branch_name>
// sbt
// set scalaVersion := "2.12.0"
// test:console
// (1 to 9).asNDArray(3,3)
//libraryDependencies += "org.nd4j" % "nd4s_2.12.0-M3" % "0.4-rc3.8"
// https://github.com/deeplearning4j/nd4s/issues/96
// libraryDependencies += "org.nd4j" %% "nd4s" % "0.7.0"
//libraryDependencies += "org.nd4j" %% "nd4s" % "0.6.0"
libraryDependencies += "org.datavec" % "datavec-api" % "0.6.0"
libraryDependencies += "org.datavec" % "datavec-data-image" % "0.6.0"
libraryDependencies += "org.datavec" % "datavec-data-codec" % "0.6.0"
libraryDependencies += "org.datavec" % "datavec-data-audio" % "0.6.0"
//libraryDependencies += "org.datavec" % "datavec-nd4j-common" % "0.6.0" already loaded
libraryDependencies += "org.deeplearning4j" % "deeplearning4j-core" % "0.6.0"
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.1"
// Conflicting cross-version suffixes in: org.scalatest:scalatest, org.scala-lang.modules:scala-xml
//libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"
// TODO: add scalastyle checks also
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xlint", "-explaintypes")
//scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xlint")
//scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xlint:deprecation")
//scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xlint", "-Xfatal-warnings")
//scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xfatal-warnings")
//scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xlint", "-uniqid", "-explaintypes")