File tree Expand file tree Collapse file tree 5 files changed +91
-1
lines changed
dynaml-core/src/main/scala-2.11/io/github/mandar2812/dynaml/tensorflow Expand file tree Collapse file tree 5 files changed +91
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ packageSummary := "Scala Library/REPL for Machine Learning Research"
99
1010packageDescription := " 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
1414val dataDirectory = settingKey[File ](" The directory holding the data files for running example scripts" )
1515
Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ sbt stage
1111cp -R dynaml-core/target/scala-2.11/api/* ../transcendent-ai-labs.github.io/api_docs/DynaML/$1 /dynaml-core/
1212cp -R dynaml-pipes/target/scala-2.11/api/* ../transcendent-ai-labs.github.io/api_docs/DynaML/$1 /dynaml-pipes/
1313cp -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/
1415cp -R target/scala-2.11/api/* ../transcendent-ai-labs.github.io/api_docs/DynaML/$1 /dynaml-repl/
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 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 ' :
You can’t perform that action at this time.
0 commit comments