Skip to content

Commit bf153f1

Browse files
committed
update URLs
1 parent 2c6b06f commit bf153f1

File tree

176 files changed

+224
-229
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+224
-229
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Description: Interface to 'Keras' <https://keras.io>, a high-level neural
2323
combinations of the two), and runs seamlessly on both 'CPU' and 'GPU' devices.
2424
Encoding: UTF-8
2525
License: MIT + file LICENSE
26-
URL: https://keras.rstudio.com
26+
URL: https://tensorflow.rstudio.com/
2727
BugReports: https://github.com/rstudio/keras/issues
2828
Depends:
2929
R (>= 3.4)

R/metrics.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ metric_sparse_top_k_categorical_accuracy <- py_metric_wrapper(
13071307
#' metric by name just like you do with built in keras metrics.
13081308
#'
13091309
#' Documentation on the available backend tensor functions can be
1310-
#' found at <https://keras.rstudio.com/articles/backend.html#backend-functions>.
1310+
#' found at <https://tensorflow.rstudio.com/reference/keras/#backend>.
13111311
#'
13121312
#' Alternative ways of supplying custom metrics:
13131313
#' + `custom_metric():` Arbitrary R function.

R/model-custom.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
#' (Deprecated) Create a Keras custom model
33
#'
44
#' `keras_model_custom()` is soft-deprecated. Please define custom models by
5-
#' subclassing `keras$Model` directly using [`%py_class%`] or [`R6::R6Class()`].
5+
#' subclassing `keras$Model` directly using [`%py_class%`] or [`R6::R6Class()`],
6+
#' or by calling `new_model_class()`.
67
#'
78
#' @param model_fn Function that returns an R custom model
89
#' @param name Optional name for model
910
#'
1011
#' @return A Keras model
1112
#'
12-
#' @details For documentation on using custom models, see
13-
#' <https://keras.rstudio.com/articles/custom_models.html>.
14-
#'
1513
#' @keywords internal
1614
#' @export
1715
keras_model_custom <- function(model_fn, name = NULL) {

R/optimizers.R

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
#' @return Optimizer for use with \code{\link{compile.keras.engine.training.Model}}.
7373
#'
7474
#' @seealso
75-
#' + <https://www.tensorflow.org/api_docs/python/keras/optimizers/optimizer_experimental/adadelta/Adadelta>
75+
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/experimental/Adadelta>
7676
#' @export
7777
optimizer_adadelta <-
7878
function(learning_rate = 0.001, rho = 0.95, epsilon = 1e-07,
@@ -150,7 +150,7 @@ do.call(keras$optimizers$Adadelta, args)
150150
#' @return Optimizer for use with \code{\link{compile.keras.engine.training.Model}}.
151151
#'
152152
#' @seealso
153-
#' + <https://www.tensorflow.org/api_docs/python/keras/optimizers/optimizer_experimental/adagrad/Adagrad>
153+
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/experimental/Adagrad>
154154
#' @export
155155
optimizer_adagrad <-
156156
function(learning_rate = 0.001, initial_accumulator_value = 0.1,
@@ -170,7 +170,7 @@ do.call(keras$optimizers$Adagrad, args)
170170
#' adaptive estimation of first-order and second-order moments.
171171
#'
172172
#' According to
173-
#' [Kingma et al., 2014](http://arxiv.org/abs/1412.6980),
173+
#' [Kingma et al., 2014](https://arxiv.org/abs/1412.6980),
174174
#' the method is "*computationally
175175
#' efficient, has little memory requirement, invariant to diagonal rescaling of
176176
#' gradients, and is well suited for problems that are large in terms of
@@ -241,7 +241,7 @@ do.call(keras$optimizers$Adagrad, args)
241241
#' @return Optimizer for use with \code{\link{compile.keras.engine.training.Model}}.
242242
#'
243243
#' @seealso
244-
#' + <https://www.tensorflow.org/api_docs/python/keras/optimizers/optimizer_experimental/adam/Adam>
244+
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/Adam>
245245
#' @export
246246
optimizer_adam <-
247247
function(learning_rate = 0.001, beta_1 = 0.9, beta_2 = 0.999,
@@ -340,7 +340,7 @@ do.call(keras$optimizers$Adam, args)
340340
#' @return Optimizer for use with \code{\link{compile.keras.engine.training.Model}}.
341341
#'
342342
#' @seealso
343-
#' + <https://www.tensorflow.org/api_docs/python/keras/optimizers/optimizer_experimental/adamax/Adamax>
343+
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/experimental/Adamax>
344344
#' @export
345345
optimizer_adamax <-
346346
function(learning_rate = 0.001, beta_1 = 0.9, beta_2 = 0.999,
@@ -469,7 +469,7 @@ do.call(keras$optimizers$Adamax, args)
469469
#' @return Optimizer for use with \code{\link{compile.keras.engine.training.Model}}.
470470
#'
471471
#' @seealso
472-
#' + <https://www.tensorflow.org/api_docs/python/keras/optimizers/optimizer_experimental/ftrl/Ftrl>
472+
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/experimental/Ftrl>
473473
#' @export
474474
optimizer_ftrl <-
475475
function(learning_rate = 0.001, learning_rate_power = -0.5,
@@ -552,7 +552,7 @@ do.call(keras$optimizers$Ftrl, args)
552552
#' @return Optimizer for use with \code{\link{compile.keras.engine.training.Model}}.
553553
#'
554554
#' @seealso
555-
#' + <https://www.tensorflow.org/api_docs/python/keras/optimizers/optimizer_experimental/nadam/Nadam>
555+
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/experimental/Nadam>
556556
#' @export
557557
optimizer_nadam <-
558558
function(learning_rate = 0.001, beta_1 = 0.9, beta_2 = 0.999,
@@ -642,7 +642,7 @@ do.call(keras$optimizers$Nadam, args)
642642
#' @return Optimizer for use with \code{\link{compile.keras.engine.training.Model}}.
643643
#'
644644
#' @seealso
645-
#' + <https://www.tensorflow.org/api_docs/python/keras/optimizers/optimizer_experimental/rmsprop/RMSprop>
645+
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/experimental/RMSprop>
646646
#' @export
647647
optimizer_rmsprop <-
648648
function(learning_rate = 0.001, rho = 0.9, momentum = 0, epsilon = 1e-07,
@@ -736,7 +736,7 @@ do.call(keras$optimizers$RMSprop, args)
736736
#' @return Optimizer for use with \code{\link{compile.keras.engine.training.Model}}.
737737
#'
738738
#' @seealso
739-
#' + <https://www.tensorflow.org/api_docs/python/keras/optimizers/optimizer_experimental/sgd/SGD>
739+
#' + <https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/experimental/SGD>
740740
#' @export
741741
optimizer_sgd <-
742742
function(learning_rate = 0.01, momentum = 0, nesterov = FALSE,

R/package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#' [CNTK](https://github.com/Microsoft/cntk),
1717
#' or [Theano](https://github.com/Theano/Theano).
1818
#'
19-
#' See the package website at <https://keras.rstudio.com> for complete documentation.
19+
#' See the package website at <https://tensorflow.rstudio.com> for complete documentation.
2020
#'
2121
#' @import methods
2222
#' @import R6

R/py-classes.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ r_formals_to_py__signature__ <- function(fn) {
317317
# *) method calls respect user-supplied `convert` values for all args
318318
#
319319

320+
# @seealso <https://tensorflow.rstudio.com/articles/new-guides/python_subclasses.html>
321+
320322

321323
#' Make a python class constructor
322324
#'
@@ -329,7 +331,6 @@ r_formals_to_py__signature__ <- function(fn) {
329331
#' @export
330332
#' @aliases py_class
331333
#'
332-
#' @seealso <https://keras.rstudio.com/articles/new-guides/python_subclasses.html>
333334
#'
334335
#' @examples
335336
#' \dontrun{

index.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ y_test <- to_categorical(y_test, 10)
112112

113113
### Defining the Model
114114

115-
The core data structure of Keras is a model, a way to organize layers. The simplest type of model is the [Sequential model](https://keras.rstudio.com/articles/sequential_model.html), a linear stack of layers.
115+
The core data structure of Keras is a model, a way to organize layers. The simplest type of model is the [Sequential model](https://tensorflow.rstudio.com/articles/sequential_model.html), a linear stack of layers.
116116

117117
We begin by creating a sequential model and then adding layers using the pipe (`%>%`) operator:
118118

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#' @md
2-
#'
2+
#'
33
#' @section Keras Backend:
4-
#'
4+
#'
55
#' This function is part of a set of Keras backend functions that enable
6-
#' lower level access to the core operations of the backend tensor engine
7-
#' (e.g. TensorFlow, CNTK, Theano, etc.).
8-
#'
6+
#' lower level access to the core operations of the backend tensor engine
7+
#' (e.g. TensorFlow, CNTK, Theano, etc.).
8+
#'
99
#' You can see a list of all available backend functions here:
10-
#' <https://keras.rstudio.com/articles/backend.html#backend-functions>.
11-
#'
10+
#' <https://tensorflow.rstudio.com/reference/keras/index.html#backend>.
11+
#'

man/custom_metric.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/grapes-py_class-grapes.Rd

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

0 commit comments

Comments
 (0)