Skip to content

Commit

Permalink
dont run examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bquast committed Sep 11, 2016
1 parent 25c5341 commit 44cb51b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions R/predictr.R
Expand Up @@ -10,7 +10,8 @@
#' @param real_output option used when the function in called inside trainr, do not drop factor for 2 dimension array output and other actions. Let it to TRUE, the default, to let the function take care of the data.
#' @param ... arguments to pass on to sigmoid function
#' @return array or matrix of predicted values
#' @examples
#' @examples
#' \dontrun{
#' # create training numbers
#' X1 = sample(0:127, 7000, replace=TRUE)
#' X2 = sample(0:127, 7000, replace=TRUE)
Expand Down Expand Up @@ -54,7 +55,7 @@
#'
#' # plot the difference
#' hist( B-(A1+A2) )
#'
#' }
#'
predictr = function(model, X, hidden = FALSE, real_output = T,...){

Expand Down
2 changes: 2 additions & 0 deletions R/trainr.R
Expand Up @@ -22,6 +22,7 @@
#' @param ... Arguments to be passed to methods, to be used in user defined functions
#' @return a model to be used by the predictr function
#' @examples
#' \dontrun{
#' # create training numbers
#' X1 = sample(0:127, 7000, replace=TRUE)
#' X2 = sample(0:127, 7000, replace=TRUE)
Expand All @@ -42,6 +43,7 @@
#' X=X,
#' learningrate = 0.1,
#' hidden_dim = 10 )
#' }
#'

trainr <- function(Y, X, learningrate, learningrate_decay = 1, momentum = 0, hidden_dim = c(10),network_type = "rnn",
Expand Down
3 changes: 2 additions & 1 deletion man/predictr.Rd

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

2 changes: 2 additions & 0 deletions man/trainr.Rd

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

0 comments on commit 44cb51b

Please sign in to comment.