lgb.sur: Fitting lgb model

View source: R/xfit.R

lgb.surR Documentation

Fitting lgb model

Description

This function allows you to fit survival data with a lgb model.

Usage

lgb.sur(
  datax,
  datay,
  method = c("defaut", "pl", "C"),
  nfolds = 5,
  nround = NULL,
  lambda = NULL,
  alpha = NULL,
  eta = NULL,
  early_stopping_rounds = NULL
)

Arguments

datax

X data set

datay

Y data set

method

fitting method

nfolds

number of folds

nround

number of rounds

lambda

l1 parameter

alpha

l2 parameter

eta

learning rate

early_stopping_rounds

force a stopping round

Value

a fitted xgb model


topycyao/Xsurv documentation built on Aug. 6, 2022, 9:06 p.m.