Skip to content

Commit 5f0a9e1

Browse files
committed
updating docs and pkgdown
1 parent d5ea137 commit 5f0a9e1

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

R/utils.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ get_keras_object <- function(
7777
#' Dials Parameter for Keras Optimizers
7878
#' @param values A character vector of possible optimizers. Defaults to all
7979
#' known optimizers (keras defaults + custom registered).
80+
#' @keywords internal
8081
#' @export
8182
optimizer_function <- function(values = NULL) {
8283
if (is.null(values)) {
@@ -96,6 +97,7 @@ optimizer_function <- function(values = NULL) {
9697
#' Dials Parameter for Keras Loss Functions
9798
#' @param values A character vector of possible loss functions. Defaults to all
9899
#' known losses (keras defaults + custom registered).
100+
#' @keywords internal
99101
#' @export
100102
loss_function_keras <- function(values = NULL) {
101103
if (is.null(values)) {

_pkgdown.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,20 @@ template:
55
reference:
66
- title: "Core Functions"
77
desc: >
8-
The main function for generating custom model specifications.
8+
Functions for generating and managing custom model specifications.
99
contents:
1010
- create_keras_spec
11+
- remove_keras_spec
12+
13+
- title: "Registration Helpers"
14+
desc: >
15+
Functions for registering custom Keras components like loss functions,
16+
optimizers, and metrics.
17+
contents:
18+
- register_keras_loss
19+
- register_keras_metric
20+
- register_keras_optimizer
21+
- keras_objects
1122

1223
articles:
1324
- title: "Getting Started"

man/loss_function_keras.Rd

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

man/optimizer_function.Rd

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

0 commit comments

Comments
 (0)