Skip to content

Commit

Permalink
updating readme (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
thunterdb authored Apr 25, 2017
1 parent b081d75 commit 4802be4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Additionally, if you want to run unit tests for python, you need the following d
Assuming that `SPARK_HOME` is set, you can use PySpark like any other Spark package.

```bash
$SPARK_HOME/bin/pyspark --packages databricks:tensorframes:0.2.7-s_2.11
$SPARK_HOME/bin/pyspark --packages databricks:tensorframes:0.2.8-s_2.11
```

Here is a small program that uses Tensorflow to add 3 to an existing column.
Expand Down Expand Up @@ -146,7 +146,7 @@ The scala support is a bit more limited than python. In scala, operations can be
You simply use the published package:

```bash
$SPARK_HOME/bin/spark-shell --packages databricks:tensorframes:0.2.7
$SPARK_HOME/bin/spark-shell --packages databricks:tensorframes:0.2.8
```

Here is the same program as before:
Expand Down Expand Up @@ -185,14 +185,14 @@ build/sbt distribution/spDist
Assuming that SPARK_HOME is set and that you are in the root directory of the project:

```bash
$SPARK_HOME/bin/spark-shell --jars $PWD/target/testing/scala-2.11/tensorframes-assembly-0.2.7.jar
$SPARK_HOME/bin/spark-shell --jars $PWD/target/testing/scala-2.11/tensorframes-assembly-0.2.8.jar
```

If you want to run the python version:

```bash
PYTHONPATH=$PWD/target/testing/scala-2.11/tensorframes-assembly-0.2.7.jar \
$SPARK_HOME/bin/pyspark --jars $PWD/target/testing/scala-2.11/tensorframes-assembly-0.2.7.jar
PYTHONPATH=$PWD/target/testing/scala-2.11/tensorframes-assembly-0.2.8.jar \
$SPARK_HOME/bin/pyspark --jars $PWD/target/testing/scala-2.11/tensorframes-assembly-0.2.8.jar
```

## Acknowledgements
Expand Down

0 comments on commit 4802be4

Please sign in to comment.