SRCL_cpp_train_network_relu: Function used as part of other functions

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

Used as part of other functions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
SRCL_cpp_train_network_relu(
  x,
  y,
  testx,
  testy,
  W1_input,
  B1_input,
  W2_input,
  B2_input,
  IPCW,
  lr = 0.01,
  maxepochs = 100
)

Arguments

x

A matrix of predictors for the training dataset

y

A vector of output values for the training data with a length similar to the number of rows of x

testx

A matrix of predictors for the test dataset

testy

A vector of output values for the test data with a length similar to the number of rows of x

W1_input

Input-hidden layer weights

B1_input

Biases for the hidden layer

W2_input

Hidden-output layer weights

B2_input

Bias for the output layer (the baseline risk)

IPCW

Inverse probability of censoring weights (Warning: not yet correctly implemented)

lr

Initial learning rate

maxepochs

The maximum number of epochs

Value

A list of class "SCL" giving the estimated matrices and performance indicators

Author(s)

Andreas Rieckmann, Piotr Dworzynski, Claus Ekstrøm


ekstroem/SRCL documentation built on Sept. 5, 2020, 8:59 p.m.