Skip to content

Commit

Permalink
Merge pull request #13 from raffaem/tensorflow
Browse files Browse the repository at this point in the history
Add installation instructions Python dependencies
  • Loading branch information
danhalligan authored Dec 17, 2024
2 parents 2ac6d34 + e59b17a commit 5c1cf54
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,27 @@ You can view these solutions hosted from GitHub at the following location:

## Building the solutions

You will need to install [tensorflow and keras]. The dependencies are provided
in the `DESCRIPTION` file and you can install them by running:
The R dependencies are provided in the `DESCRIPTION` file and you can install them by running:

```r
devtools::install()
```

Other than that you need the Python packages [tensorflow and keras] installed in the Python environment you are using to run the examples:

```bash
pip3 install tensorflow keras
```

Rebuild the book with compiled solutions by running:

```{r}
```r
bookdown::render_book('index.Rmd', 'bookdown::gitbook')
```

To render only one file/chapter (e.g. solutions for chapter 2), use:

```{r}
```r
rmarkdown::render(input="02-statistical-learning.Rmd", output_format=bookdown::pdf_document2())
```

Expand Down

0 comments on commit 5c1cf54

Please sign in to comment.