Skip to content

Instantly share code, notes, and snippets.

Stuart Gordon Reid StuartGordonReid

View GitHub Profile
tomaskrehlik / jordan_caret.R
Created Nov 19, 2013
A cusom function to use jordan recurrent neural network from RSNNS package with caret.
View jordan_caret.R
grid <- expand.grid(.size=5:10)
modelFunc <- function(data, parameter, levels, last, ...)
list(fit = jordan(data[,setdiff(names(data),".outcome")], data$.outcome, size = parameter$.size, initFuncParams = c(1,-1, 0.3, 1, 0.5)))
predFunc <- function(object, newdata)
You can’t perform that action at this time.