Skip to content

Commit

Permalink
speed up tensor plot example
Browse files Browse the repository at this point in the history
  • Loading branch information
schalkdaniel committed Mar 14, 2023
1 parent 0f3f95b commit 1c0e6e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/plot_tensor.R
Expand Up @@ -19,12 +19,12 @@
#' A smooth surface is drawn if `nbins = NULL`.
#' @examples
#' cboost = Compboost$new(data = iris, target = "Petal.Length",
#' loss = LossQuadratic$new())
#' loss = LossQuadratic$new(), learning_rate = 0.2)
#'
#' cboost$addTensor("Sepal.Width", "Sepal.Length", df1 = 4, df2 = 4)
#' cboost$addTensor("Sepal.Width", "Species", df1 = 4, df2 = 2)
#'
#' cboost$train(150L)
#' cboost$train(50L)
#'
#' plotTensor(cboost, "Sepal.Width_Species_tensor")
#' plotTensor(cboost, "Sepal.Width_Sepal.Length_tensor")
Expand Down
4 changes: 2 additions & 2 deletions man/plotTensor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1c0e6e7

Please sign in to comment.