Skip to content

Commit e522e69

Browse files
committed
more URL updates
1 parent e6868df commit e522e69

File tree

11 files changed

+34
-40
lines changed

11 files changed

+34
-40
lines changed

R/cloudml-package.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
#' @description
99
#'
1010
#' The **cloudml** package provides an R interface to [Google Cloud Machine
11-
#' Learning Engine](https://cloud.google.com/ml-engine/), a managed service that
11+
#' Learning Engine](https://cloud.google.com/vertex-ai), a managed service that
1212
#' enables:
1313
#'
1414
#' * Scalable training of models built with the
15-
#' [keras](https://keras.rstudio.com/),
16-
#' [tfestimators](https://tensorflow.rstudio.com/tfestimators), and
15+
#' [keras](https://keras3.posit.co/),
16+
#' [tfestimators](https://github.com/rstudio/tfestimators), and
1717
#' [tensorflow](https://tensorflow.rstudio.com/) R packages.
1818
#'
1919
#' * On-demand access to training on GPUs, including the new [Tesla P100
20-
#' GPUs](http://www.nvidia.com/object/tesla-p100.html) from NVIDIA®.
20+
#' GPUs](https://www.nvidia.com/en-us/data-center/) from NVIDIA®.
2121
#'
2222
#' * Hyperparameter tuning to optimize key attributes of model architectures in
2323
#' order to maximize predictive accuracy.
@@ -29,13 +29,13 @@
2929
#'
3030
#' CloudML is a managed service where you pay only for the hardware resources
3131
#' that you use. Prices vary depending on configuration (e.g. CPU vs. GPU vs.
32-
#' multiple GPUs). See <https://cloud.google.com/ml-engine/pricing> for
32+
#' multiple GPUs). See <https://cloud.google.com/vertex-ai/pricing> for
3333
#' additional details.
3434
#'
3535
#' For documentation on using the R interface to CloudML see the package website
36-
#' at <https://tensorflow.rstudio.com/tools/cloudml/>
36+
#' at <https://github.com/rstudio/cloudml>
3737
#'
38-
#' @references <https://tensorflow.rstudio.com/tools/cloudml/>
38+
#' @references <https://github.com/rstudio/cloudml>
3939
#' @name cloudml-package
4040
#' @aliases cloudml
4141
#' @keywords internal

R/jobs.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
#' @param master_type Training master node machine type. "standard" provides a
1313
#' basic machine configuration suitable for training simple models with small
1414
#' to moderate datasets. See the documentation at
15-
#' <https://cloud.google.com/ml-engine/docs/tensorflow/machine-types#machine_type_table>
15+
#' <https://cloud.google.com/vertex-ai/docs/reference/rest/v1/MachineSpec>
1616
#' for details on available machine types.
1717
#'
1818
#' @param region The region to be used for training.
1919
#'
2020
#' @param config A list, `YAML` or `JSON` configuration file as described
21-
#' <https://cloud.google.com/ml-engine/reference/rest/v1/projects.jobs>.
21+
#' <https://cloud.google.com/vertex-ai>.
2222
#'
2323
#' @param collect Logical. If TRUE, collect job when training is completed
2424
#' (blocks waiting for the job to complete). The default (`"ask"`) will

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ Status](https://ci.appveyor.com/api/projects/status/github/rstudio/cloudml?branc
77

88
The **cloudml** package provides an R interface to [Google Cloud Machine Learning Engine](https://cloud.google.com/vertex-ai), a managed service that enables:
99

10-
* Scalable training of models built with the [keras](https://keras3.posit.co/), [tfestimators](https://tensorflow.rstudio.com/tfestimators), and [tensorflow](https://tensorflow.rstudio.com/) R packages.
10+
* Scalable training of models built with the [keras](https://keras3.posit.co/), [tfestimators](https://github.com/rstudio/tfestimators), and [tensorflow](https://tensorflow.rstudio.com/) R packages.
1111

1212
* On-demand access to training on GPUs, including the new [Tesla P100 GPUs](https://www.nvidia.com/en-us/data-center/) from NVIDIA&reg;.
1313

1414
* Hyperparameter tuning to optimize key attributes of model architectures in order to maximize predictive accuracy.
1515

1616
* Deployment of trained models to the Google global prediction platform that can support thousands of users and TBs of data.
1717

18-
CloudML is a managed service where you pay only for the hardware resources that you use. Prices vary depending on configuration (e.g. CPU vs. GPU vs. multiple GPUs). See <https://cloud.google.com/vertex-aipricing> for additional details.
18+
CloudML is a managed service where you pay only for the hardware resources that you use. Prices vary depending on configuration (e.g. CPU vs. GPU vs. multiple GPUs). See <https://cloud.google.com/vertex-ai/pricing> for additional details.
1919

20-
For documentation on using the R interface to CloudML see the package website at <https://tensorflow.rstudio.com/tools/cloudml/>
20+
For documentation on using the R interface to CloudML see the package website at <https://github.com/rstudio/cloudml>

man/cloudml-package.Rd

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cloudml_deploy.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cloudml_train.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/deployment.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Cloud ML Engine can host your models so that you can get predictions from them i
3232
### Exporting a SavedModel
3333

3434
The Cloud ML prediction service makes use of models exported through the
35-
`export_savedmodel()` function which is available for models created using the [tensorflow](https://tensorflow.rstudio.com/tensorflow/), [keras](https://keras3.posit.co/) and
35+
`export_savedmodel()` function which is available for models created using the [tensorflow](https://tensorflow.rstudio.com/), [keras](https://keras3.posit.co/) and
3636
[tfestimators](https://github.com/rstudio/tfestimators) packages or any other tool that support the [tf.train.Saver](https://www.tensorflow.org/api_docs/python/tf/compat/v1/train/Saver) interface.
3737

3838
For instance, we can use `examples/keras/train.R` included in this package to define

vignettes/getting_started.Rmd

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "R Interface to Google CloudML"
3-
output:
3+
output:
44
rmarkdown::html_vignette: default
55
vignette: >
66
%\VignetteIndexEntry{Getting Started}
@@ -29,15 +29,15 @@ knitr::opts_chunk$set(echo = TRUE, eval=FALSE)
2929

3030
The **cloudml** package provides an R interface to [Google Cloud Machine Learning Engine](https://cloud.google.com/vertex-ai), a managed service that enables:
3131

32-
* Scalable training of models built with the [keras](https://keras3.posit.co/), [tfestimators](https://tensorflow.rstudio.com/tfestimators), and [tensorflow](https://tensorflow.rstudio.com/) R packages.
32+
* Scalable training of models built with the [keras](https://keras3.posit.co/), [tfestimators](https://github.com/rstudio/tfestimators), and [tensorflow](https://tensorflow.rstudio.com/) R packages.
3333

34-
* On-demand access to training on GPUs, including the new [Tesla P100 GPUs](https://www.nvidia.com/en-us/data-center/) from NVIDIA&reg;.
34+
* On-demand access to training on GPUs, including the new [Tesla P100 GPUs](https://www.nvidia.com/en-us/data-center/) from NVIDIA&reg;.
3535

3636
* Hyperparameter tuning to optmize key attributes of model architectures in order to maximize predictive accuracy.
3737

3838
* Deployment of trained models to the Google global prediction platform that can support thousands of users and TBs of data.
3939

40-
CloudML is a managed service where you pay only for the hardware resources that you use. Prices vary depending on configuration (e.g. CPU vs. GPU vs. multiple GPUs). See <https://cloud.google.com/vertex-aipricing> for additional details.
40+
CloudML is a managed service where you pay only for the hardware resources that you use. Prices vary depending on configuration (e.g. CPU vs. GPU vs. multiple GPUs). See <https://cloud.google.com/vertex-ai/pricing> for additional details.
4141

4242
<div style="height: 25px;"></div>
4343

@@ -58,7 +58,7 @@ Start by installing the cloudml R package from CRAN as follows:
5858
install.packages("cloudml")
5959
```
6060

61-
Then, install the *Google Cloud SDK*, a set of utilties that enable you to interact with your Google Cloud account from within R. You can install the SDK using the `gcloud_install()` function.
61+
Then, install the *Google Cloud SDK*, a set of utilties that enable you to interact with your Google Cloud account from within R. You can install the SDK using the `gcloud_install()` function.
6262

6363
```{r}
6464
library(cloudml)
@@ -93,7 +93,7 @@ cloudml_train("train.R")
9393
All of the files within the current working directory will be bundled up and sent along with the script to CloudML.
9494

9595
<div class="bs-callout bs-callout-warning">
96-
Note that the very first time you submit a job to CloudML the various packages required to run your script will be compiled from source. This will make the execution time of the job considerably longer that you might expect. It's only the first job that incurs this overhead though (since the package installations are cached), and subsequent jobs will run more quickly.
96+
Note that the very first time you submit a job to CloudML the various packages required to run your script will be compiled from source. This will make the execution time of the job considerably longer that you might expect. It's only the first job that incurs this overhead though (since the package installations are cached), and subsequent jobs will run more quickly.
9797
</div>
9898

9999
If you are using [RStudio v1.1](https://posit.co/download/rstudio-desktop/) or higher, then the CloudML training job is monitored (and it's results collected) using a background terminal:
@@ -112,7 +112,7 @@ You can list all previous runs as a data frame using the `ls_runs()` function:
112112
ls_runs()
113113
```
114114
```
115-
Data frame: 6 x 37
115+
Data frame: 6 x 37
116116
run_dir eval_loss eval_acc metric_loss metric_acc metric_val_loss metric_val_acc
117117
6 runs/cloudml_2018_01_26_135812740 0.1049 0.9789 0.0852 0.9760 0.1093 0.9770
118118
2 runs/cloudml_2018_01_26_140015601 0.1402 0.9664 0.1708 0.9517 0.1379 0.9687
@@ -141,7 +141,7 @@ There are many tools available to list, filter, and compare training runs. For a
141141

142142
## Training with a GPU
143143

144-
By default, CloudML utilizes "standard" CPU-based instances suitable for training simple models with small to moderate datasets. You can request the use of other machine types, including ones with GPUs, using the `master_type` parameter of `cloudml_train()`.
144+
By default, CloudML utilizes "standard" CPU-based instances suitable for training simple models with small to moderate datasets. You can request the use of other machine types, including ones with GPUs, using the `master_type` parameter of `cloudml_train()`.
145145

146146
For example, the following would train the same model as above but with a [Tesla K80 GPU](http://www.nvidia.com/object/tesla-k80.html):
147147

@@ -174,9 +174,3 @@ To learn more about using CloudML with R, see the following articles:
174174
* [Google Cloud Storage](storage.html) provides information on copying data between your local machine and Google Storage and also describes how to use data within Google Storage during training.
175175

176176
* [Deploying Models](deployment.html) describes how to deploy trained models and generate predictions from them.
177-
178-
179-
180-
181-
182-

vignettes/storage.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Note that to use these functions you need to import the cloudml package with `li
6060

6161
There are two distinct ways to read data from Google Storage. Which you use will depend on whether the TensorFlow API you are using supports direct references to `gs://` bucket URLs.
6262

63-
If you are using the [TensorFlow Datasets](https://tensorflow.rstudio.com/tools/tfdatasets/articles/introduction.html) API, then you can use `gs://` bucket URLs directly. In this case you'll want to use the `gs://` URL when running on CloudML, and a synchonized copy of the bucket when running locally. You can use the `gs_data_dir()` function to accomplish this. For example:
63+
If you are using the [TensorFlow Datasets](https://tensorflow.rstudio.com/guides/tfdatasets/) API, then you can use `gs://` bucket URLs directly. In this case you'll want to use the `gs://` URL when running on CloudML, and a synchonized copy of the bucket when running locally. You can use the `gs_data_dir()` function to accomplish this. For example:
6464

6565
```{r}
6666
library(tfdatasets)

vignettes/training.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Working on a CloudML project always begins with developing a training script tha
4343

4444
- [keras](https://keras3.posit.co/) --- A high-level interface for neural networks, with a focus on enabling fast experimentation.
4545

46-
- [tfestimators](https://tensorflow.rstudio.com/tfestimators) --- High-level implementations of common model types such as regressors and classifiers.
46+
- [tfestimators](https://github.com/rstudio/tfestimators) --- High-level implementations of common model types such as regressors and classifiers.
4747

4848
- [tensorflow](https://tensorflow.rstudio.com/) --- Lower-level interface that provides full access to the TensorFlow computational graph.
4949

0 commit comments

Comments
 (0)