Skip to content

Commit 1efde01

Browse files
committed
Preparation for v1.5.2 release
1 parent 78dbe7a commit 1efde01

File tree

5 files changed

+91
-1
lines changed

5 files changed

+91
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ packageSummary := "Scala Library/REPL for Machine Learning Research"
99

1010
packageDescription := "DynaML is a Scala environment for conducting research and education in Machine Learning. DynaML comes packaged with a powerful library of classes for various predictive models and a Scala REPL where one can not only build custom models but also play around with data work-flows. It can also be used as an educational/research tool for data analysis."
1111

12-
val mainVersion = "v1.5.2-beta.4"
12+
val mainVersion = "v1.5.2"
1313

1414
val dataDirectory = settingKey[File]("The directory holding the data files for running example scripts")
1515

copy-docs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ sbt stage
1111
cp -R dynaml-core/target/scala-2.11/api/* ../transcendent-ai-labs.github.io/api_docs/DynaML/$1/dynaml-core/
1212
cp -R dynaml-pipes/target/scala-2.11/api/* ../transcendent-ai-labs.github.io/api_docs/DynaML/$1/dynaml-pipes/
1313
cp -R dynaml-examples/target/scala-2.11/api/* ../transcendent-ai-labs.github.io/api_docs/DynaML/$1/dynaml-examples/
14+
cp -R dynaml-repl/target/scala-2.11/api/* ../transcendent-ai-labs.github.io/api_docs/DynaML/$1/dynaml-repl/
1415
cp -R target/scala-2.11/api/* ../transcendent-ai-labs.github.io/api_docs/DynaML/$1/dynaml-repl/
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
!!! summary ""
2+
Version 1.5.2 of DynaML, released March 2, 2017,
3+
introduces functionality through improvement in the pipes API and
4+
increased integration with Tensorflow.
5+
6+
7+
## Additions
8+
9+
### Tensorflow Integration
10+
11+
- Tensorflow (beta) support now live, thanks to the [tensorflow_scala](https://github.com/eaplatanios/tensorflow_scala) project! Try it out in:
12+
* [CIFAR-10](https://github.com/transcendent-ai-labs/DynaML/blob/master/scripts/cifar.sc) example script
13+
* [MNIST](https://github.com/transcendent-ai-labs/DynaML/blob/master/scripts/mnist.sc) example script
14+
15+
**Package** `dynaml.tensorflow`
16+
17+
- The `dtf` package object houses utility functions related to tensorflow primitives. Currently supports creation of tensors from arrays.
18+
- The `dtflearn` package object deals with basic neural network building blocks which are often needed while constructing prediction architectures.
19+
20+
21+
### Library Organisation
22+
23+
- Added `dynaml-repl` and `dynaml-notebook` modules to repository.
24+
25+
### DynaML Server
26+
27+
- DynaML ssh server now available
28+
```bash
29+
$ ./target/universal/stage/bin/dynaml --server
30+
```
31+
To login to the server open a separate shell and type
32+
```bash
33+
$ ssh repl@localhost -p22222
34+
```
35+
36+
### Basis Generators
37+
- Legrendre polynomial basis generators
38+
39+
## Bugfixes
40+
41+
- Acceptance rule of `HyperParameterMCMC` and related classes.
42+
43+
## Changes
44+
45+
- Increased pretty printing to screen instead of logging.
46+
47+
48+
## Cleanup
49+
50+
**Package** `dynaml.models.svm`
51+
- Removal of deprecated model classes from `svm` package
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
* */
19+
package io.github.mandar2812.dynaml.tensorflow
20+
21+
import io.github.mandar2812.dynaml.pipes.DataPipe
22+
import org.apache.spark.annotation.Experimental
23+
import org.platanios.tensorflow.api.Tensor
24+
25+
/**
26+
* A basis function expansion yielding a TF tensor.
27+
* */
28+
@Experimental
29+
case class TensorBasis[-I](f: (I) => Tensor) extends DataPipe[I, Tensor] {
30+
31+
self =>
32+
33+
override def run(data: I): Tensor = f(data)
34+
35+
def >(other: DataPipe[Tensor, Tensor]): TensorBasis[I] = TensorBasis((x: I) => other.run(self.f(x)))
36+
37+
}

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pages:
1313
- 'Structure': structure.md
1414
- Releases:
1515
- 'v1.5.x':
16+
- 'v1.5.2': 'releases/mydoc_release_notes_152.md'
1617
- 'v1.5.1': 'releases/mydoc_release_notes_151.md'
1718
- 'v1.5': 'releases/mydoc_release_notes_15.md'
1819
- 'v1.4.x':

0 commit comments

Comments
 (0)